scrimba
Frontend Career Path
Essential CSS concepts
Build an NFT Site
The second section imgs
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 second section imgs
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 */


/*
Challenge:
1. Give the images in section two a class.
2. Use that class to set the width and
border-radius for the images.
3. Wrap the two images in a container div
and give it a class.
4. Create the CSS selector for that class
and use flex-box to layout the images
as shown in the slide.
*/

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%;
}


Console
/index.html
-4:24