scrimba
Introduction to CSS
Learn CSS Margins
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

Learn CSS Margins
AboutCommentsNotes
Learn CSS Margins
Expand for more info
style.css
run
preview
console
.parent {
background-color: rgba(0,0,0,.3);
}
.box {
background-color: lightgray;
width: 100px;
height: 100px;
padding: 10px;
/* box-sizing: border-box; */
border: solid 10px lightgreen;
}

.content {
background-color: white;
padding: 10px;
box-sizing: border-box;
}
Console
index.html#
-1:50