scrimba
Frontend Career Path
Essential CSS concepts
Build an NFT Site
Aside: Hover and active states
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: Hover and active states
AboutCommentsNotes
Aside: Hover and active states
Expand for more info
index.css
run
preview
console
body{
margin: 0;
font-family: 'Roboto';
}

/* typography */

h1{
margin: 0 20px 0 0;
padding: 20px;
border: 3px solid orange;
border-radius: 4.6px;
font-family: 'Creepster';
font-size: 34px;
letter-spacing: 2px;
color: orange;
}

a{
font-size: 23px;
text-decoration: none;
color: whitesmoke;
}

/* layout */

header{
background-color: darkmagenta;
padding: 25px;
border: 4px solid orange;
}

.logo-title{
display: flex;
align-items: center;
justify-content: center;
gap: 50px;
}

.logo{
background-image: url('images/haunted-tree.png');
height: 145px;
width: 100px;
background-size: contain;
background-repeat: no-repeat;
}

.nav-bar{
margin-top: 20px;
text-align: center;
}

.nav-item{
margin: 0 10px;
}
Console
/index.html
-10:17