JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
<div id="one">Content1</div><!--
!-->
<div id="three">Content3</div>
<div id="two">Content2</div>
</div>
CSS
.container {
padding: 5px;
position: relative;
}
#one, #two {
width: 50%;
display: inline-block;
box-sizing: border-box;
}
#two {
position: absolute;
top: 0;
right: 0;
}
#one {
position: absolute;
top: 0;
left: 0;
}
#three {
position: absolute;
top: 200px;
left: 0;
box-sizing: border-box;
}
#one, #two, #three {
margin: 0;
height: 200px;
border: 1px solid black;
}
#three {
width: 100%;
}
@media (max-width: 600px) {
#one, #two, #three {
width: 100%;
position: initial;
top: default;
}
}