JSFiddle - React, Tailwind, and code Playground
by Liu David
HTML
<div class="container divinline">
<div class="firstrow">
<div class="col1 divinline">COLUME 1</div>
<div class="col2 divinline">COLUME 2</div>
</div>
<div class="secondrow">ROW TWO</div>
</div>
CSS
.divinline{
display:inline-block;
}
.container{
height:80px;
background:#ffee12;
width:50%;
text-align:left;
color:#FFF;
}
.firstrow{
background:#450011;
font-size:12px;
height:40%;
font-size: 0;
}
.secondrow{
background:#333333;
font-size:12px;
height:60%;
}
.col1{
background:#ffff00;
height:100%;
width:50%;
font-size:12px;
}
.col2{
background:#ff0000;
height:100%;
min-width:30%;
font-size:12px;
}
.helper {
display: inline-block;
height: 100%;
vertical-align: bottom;
}