scrimba
Frontend Career Path
Essential CSS concepts
Build an NFT Site
Style the buttons individually new
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

Style the buttons individually new
AboutCommentsNotes
Style the buttons individually new
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;
}

p{
line-height: 23px;
}

/* links */

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

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

/*
Challenge:
1. Style the 4 button-style links as per
the specifications on the slide.
2. Remember to group the selectors
where possible to keep the CSS DRY.
⚠️ Think: what would make good class
names for these links?
*/

/* 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-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
-5:58