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

/* typography */

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

h2{
margin-top: 0;
}

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

/* links */

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

a:hover{
color: #d4b44c;
}

a:active{
color: #d4b44c;
}

/* layout */

header{
background-color: #5f29a3;
padding: 45px 0;
}

section{
padding: 45px 0;
}

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

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

.main-image{
width:100%;
}

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

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

/*
Challenge:
1. Center the footer's text horizontally.
2. Give the text space top and bottom.
⚠️ Don't add margin! Look at sections
and header for inspiration.
3. Give the text the correct color.
*/








Console
/index.html
-2:10