scrimba
Frontend Career Path
Essential CSS concepts
Build an NFT Site
Line-height debug
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
Line-height debug
Expand for more info
index.css
run
preview
console
body{
font-size: 16px;
color: #2b283a;
font-family: 'Roboto', sans-serif;
margin: 0;
}

/* typography */

h1, h3{
margin: 0;
}

h1{
color: whitesmoke;
font-size: 36px;
}

h2{
margin-top: 0;
}

h3{
color: #d0aaff;
font-size: 20px;
}

/*
Challenge:
1. Increase the line-height of the
paragraph text to 23px;
*/




/* links */

a{
color: #ef5839;
text-decoration: underline dotted;
}

a:hover, a:active{
color: #d4b44c;
}

/* layout */

header, section, footer{
padding: 45px 0;
}

header, .section-two{
background-color: #5f29a3;
}

.section-two{
color: whitesmoke;
}

.container{
width: 620px;
margin: 0 auto;
}

.main-image{
width:100%;
}

section p{
line-height: 18.4px;
}

.section-two-image-container{
display: flex;
justify-content: space-between;
}

.feature-image{
width: 300px;
border-radius: 4.6px;
}

footer{
text-align: center;
color: #5f29a3;
}
Console
/index.html
-3:19