JSFiddle - React, Tailwind, and code Playground
HTML
<div style="margin-bottom: 10px;">These are</div>
<div style="margin-top: 10px;">collapsing</div>
<hr>
<div style="margin-bottom: 10px;">These are NOT</div>
<div style="margin-top: 10px; float:left;">collapsing</div>