<div class="parent">
  Parent
  <div class="child1">1</div>
  <div class="child2">2</div>
  <div class="child3">3</div>
</div>
.parent{
  background-color: #876445;
  height: 100vh;
  border: 1px solid
}

.child1{
  background-color: #612897;
  margin: 3px;
  position: static
}
.child2{
  background-color: #D22779;
  margin: 3px;
}
.child3{
  background-color: #0C1E7F;
  margin: 3px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.