JSFiddle - React, Tailwind, and code Playground
HTML
<div id="backward"> Run
<div id="ontop">ontopM</div>
content <br />
content
</div>
<div id="forward">
content
</div>
CSS
#backward {
width:200px;
height:100px;
z-index:100;
background:#df0;
}
#forward {
width:160px;
height:100px;
position:relative;
z-index:101;
background:#dd0;
margin:-20px 20px 0;
}
#ontop {
background:#f00;
position:relative;
z-index:102;
top:80px;
left:80px;
width:50px;
height:20px;
}