JSFiddle - React, Tailwind, and code Playground
HTML
<div>
<div style="width:50%">.</div>
<div style="width:50%">a</div>
</div>
CSS
div > div{
float: left;
}
<div>
<div style="width:50%">.</div>
<div style="width:50%">a</div>
</div>
div > div{
float: left;
}