JSFiddle - React, Tailwind, and code Playground

HTML

<div class="parent">
    <div class="child-1">LOREN IPSUM LOREN IPSUM</div>
    <div class="child-2">LOREN IPSUMLOREN IPSUMLOREN IPSUM</div>
    <div class="child-3"> LOREN IPSUMLOREN IPSUM</div>
</div>

CSS

.parent {
    display: flex;
    flex-wrap: wrap;
    height: 100px;
    background-color: red;
    width: 600px;
}
.parent > div {
    flex-basis: 150px;
    flex-grow: 1;
}
.child-1 {
    background-color: green;
    xflex: 0.5;
}
.child-2 {
    background-color: yellow;
    xflex: 0.5;
}
.child-3 {
    background-color: pink;
}