JSFiddle - React, Tailwind, and code Playground
by TheDiamondDoge
HTML
<div class="container">
<div id="first"></div>
<div class="container-2">
<div id="second"></div>
<div id="third">
<div>
</div>
</div>
</div>
</div>
CSS
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
}
div {
border: 1px black solid
}
.container {
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
}
.container-2 {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
#first, #third{
width: 100px;
height: 100px;
}
#first {
height: 100%;
}
#second {
width: 100%;
height: 100px;
}