<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;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.