JSFiddle - React, Tailwind, and code Playground
HTML
<div class="rawr">
<div class="smack">
</div>
</div>
CSS
.rawr {
position: absolute;
top: 100px;
left: 0px;
height:50px;
width: 200px;
background: blue;
transform: rotate(90deg);
}
.smack {
height: 40px;
width: 40px;
background: red;
float: right;
}