scrimba
Frontend Career Path
Learn UI design
Simple layout
Making our Layout Dark
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Making our Layout Dark
Expand for more info
index.css
run
preview
console
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

html, body {
margin: 0;
padding: 0;
height: 100vh;
}

body {
font-family: 'Montserrat';
display: grid;
place-content: center;
}

h1 {
margin-top: 0;
font-size: 2.4em;
}

p {
font-size: 1.2em;
margin-bottom: .5em;
}

/*

- White Space
- Color
- Contrast
- Scale
- Alignment
- Typography
- Visual Hierarchy

*/
Console
/index.html
-5:48