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

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

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

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

/*
Challenge:
1. Create a "section" selector and give it the
same padding as the header.
2. In index.html, find the image of the purple
sneakers and attach a class to it.
3. Make it so this image takes up 100%
of the section width.
*/
Console
/index.html#
-2:37