JSFiddle - React, Tailwind, and code Playground
HTML
<div id="div1" > This is first DIV </div>
<div id="div2" > This is Second DIV </div>
CSS
#div1{
background:yellow;
height:100px;
width:150px;
float:left;
}
#div2{
background:red;
height:100px;
width:150px;
float:left;
}