JSFiddle - React, Tailwind, and code Playground
HTML
<div class="flex">
<div>Hithis is a long test sentence this is a </div>
<div>Hellothis is a long test sentence </div>
<div>Hello 2this is a long test sentence </div>
</div>
CSS
*
{
box-sizing: border-box;
}
.flex
{
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.flex > div
{
flex: 1 0 50%;
text-align: center;
padding: 10px;
}
.flex > div:first-child
{
flex: 0 1 50%;
}