scrimba
Frontend Career Path
Essential CSS concepts
Build an NFT Site
Aside: Margins - strange behaviour
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

Aside: Margins - strange behaviour
AboutCommentsNotes
Aside: Margins - strange behaviour
Expand for more info
index.css
run
preview
console
body{
margin: 0;
font-family: Verdana, Geneva, Tahoma, sans-serif;
background-color: whitesmoke;
}

h1{
color: white;
font-family: 'Gill Sans', 'Gill Sans MT', sans-serif;
}

h2{
margin: 0;
}

a{
color: whitesmoke;
text-decoration: none;
}

header{
background-color: #b80000;
}

section{
padding: 30px 20px;
display: flex;
}

.header-text{
margin: 0;
font-size: 14px;
color: #666;
}

.selected{
text-decoration: underline;
}

.text-left{
padding-right: 20px;
}

img{
width: 250px;
}

footer{
padding: 5px;
text-align: center;
font-size: small;
}


Console
/index.html#
-5:39