JSFiddle - React, Tailwind, and code Playground

by javisasan

HTML

<div class='left'>
    Div flotante izquierdo
</div>
<div class='right'>
    Div flotante derecho
</div>

CSS

.left {
    float: left;
    width: 50%;
    background-color: #B294FF;
    border: 1px solid #AA3355;
}
.right {
    float: right;
    width: 50%;
    background-color: #94BAFF;
    border: 1px solid #3355FF;
}