JSFiddle - React, Tailwind, and code Playground
by luissanchezm86
HTML
<div class="divContainer blahContainer">
<div class="divRow">
<div class="divColumn blahColumna1">
<fieldset>
<legend>blah1</legend>
<br />qweqwe
</fieldset>
</div>
<div class="divColumn blahColumna2">
<fieldset>
<legend>blah2</legend>
<br />qweqwe
<br />qweqwe
<br />qweqwe
<br />qweqwe
<br />qweqwe
<br />qweqwe
<br />qweqwe
<br />qweqwe
<br />qweqwe
</fieldset>
</div>
</div>
</div>
CSS
.divContainer
{
display: table;
border: solid;
}
.divRow
{
display: table-row;
height: auto;
}
.divColumn
{
display: table-cell;
}
fieldset
{
border: 1px solid #ddd;
padding: 0 1.4em 1.4em 1.4em;
margin: 0 0 1.5em 0;
border-radius: 8px;
margin: 0 5px;
height: 100%;
}
legend
{
font-size: 1.2em;
font-weight: bold;
}
.blahContainer{
width: 100%;
height: 100%;
}
.blahColumna1{
width: 70%;
height: 100%;
}
.blahColumna2{
width: 30%;
height: 100%;
}