scrimba
CSS Fundamentals
Margin and Padding - Consistency and a new type of selector
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

Margin and Padding - Consistency and a new type of selector
AboutCommentsNotes
Margin and Padding - Consistency and a new type of selector
Expand for more info
css
style.css
run
preview
console
.card {
background: #000;
color: white;
width: 560px;
margin: 0 auto;
}

h1 {
font-size: 24px;
}

p {
font-size: 18px;
}

.links {
margin-top: 40px;
}
Console
index.html
-5:19