JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper">
<div class="block1">
</div>
<div class="block2">
</div>
</div>
CSS
.wrapper {border:black solid;
width:500px;height:1000px}
.block1 {width:300px;height:300px;float:right;border:solid red;}
.block2 {width:300px;height:300px;border:solid green;}