<div class="parent">
<div class="child"></div>
<div class="child"></div>
</div>
.parent{
background-color: #eee;
}
.child{
width: 100px;
height: 100px;
background-color: orange;
margin: 20px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.