JSFiddle - React, Tailwind, and code Playground

HTML

<div class="boom">

</div>

<div class="bam">

</div>

CSS

.boom {
  position: absolute;
  height: 40px;
  width: 40px;
  background: red;
}

.bam {
  height: 80px;
  width: 80px;
  float: left;
  background: blue;
}