JSFiddle - React, Tailwind, and code Playground
HTML
<div class="left">
left text
</div>
<div class="right">
right text
</div>
CSS
.left {
float: left;
display: inline-block;
background-color: #EEEEEE;
}
.right {
background-color: lightBlue;
}