JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
<div class="wrapper">
<div class="column width50 height100 pink"></div>
<div class="column width50 height100">
<div class="wrapper">
<div class="column width100 height50 orange">
<div class="item top">
<h1>TOP</h1>
</div>
</div>
<div class="column width100 height50 yellow">
<div class="item bottom">
<h1>BOTTOM</h1>
</div>
</div>
</div>
</div>
</div>
</div>
CSS
.container {
height: 100vh;
margin: 0 auto;
max-width: 960px;
min-height: 360px;
}
.wrapper {
width: 100%;
height: 100%;
}
.wrapper::after {
content: "";
display: block;
clear: both;
}
.column {
position: relative;
float: left;
}
.width100 {
width: 100%;
}
.width50 {
width: 50%;
}
.height100 {
height: 100%;
}
.height50 {
height: 50%
}
.orange {
background: orange;
}
.pink {
background: pink;
}
.yellow {
background: yellow;
}
.item {
position: absolute;
width: 100%;
text-align: center;
overflow: hidden;
}
.top {
top: 0;
}
.bottom {
bottom: 0;
}
h1 {
background: blue;
color: white;
}