<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;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.