<div class="parent">
  Parent Element
  <div class="child"> Child Element </div>
</div>
.parent{
  background: #c48455;
  padding: 10px;
  color: #fff;
  width: 250px;
  height: 200px;
  position: relative;
}

.child{
  background: #494652;
  padding: 10px;
  width: 150px;
  height: 100px;
  position: absolute;
  top: 50px;
  left: 40px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.