JSFiddle - React, Tailwind, and code Playground
by luka kupunia
HTML
<div class="box">
<div class="box1">1</div>
<div class="box2">2</div>
</div>
CSS
div.box {
width: 100%;
}
div.box:after {
content: '';
display: table;
clear: both;
}
div.box1 {
float: right;
width: 100%;
}
div.box2 {
float: right;
width: 100%;
}