JSFiddle - React, Tailwind, and code Playground
HTML
<div class="boxcontainer">
<div class="box two">
<h3>This is the title</h3>
Lorem ipsum dolor amit the content is immaterial to the proceedings.
</div>
<div class="box two">
<h3>This is the title</h3>
Lorem ipsum dolor amit the content is immaterial to the proceedings.
</div>
<div class="box two">
<h3>This is the title</h3>
Lorem ipsum dolor amit the content is immaterial to the proceedings.
</div>
<div class="box two">
<h3>This is the title</h3>
Lorem ipsum dolor amit the content is immaterial to the proceedings.
</div>
</div>
CSS
h3 {
margin: 0px;
}
.boxcontainer {
text-align: justify;
-ms-text-justify: distribute-all-lines;
text-justify: distribute-all-lines;
background-color: orange;
}
.boxcontainer:after {
content: '';
display: inline-block;
width: 100%;
height: 0px;
font-size: 0px;
line-height: 0px;
}
.box {
text-align: left;
vertical-align: top;
display: inline-block;
*display: inline;
background-color: blue;
color: white;
font-family: Trebuchet MS;
}
.box.one {
width: 60px;
}
.box.two {
width: 120px;
}
.box.three {
width: 180px;
}
/*
You can see where this is going...
*/