JSFiddle - React, Tailwind, and code Playground
by aethanyc
HTML
<p>
flexbox
</p>
<div style="display: flex; flex-direction: column">
<div style="background: green; width: 100px; aspect-ratio: 2/1; ">
<div style="height: 100px;"></div>
</div>
</div>
<br>
<p>
block
</p>
<div style="background: green; width: 100px; aspect-ratio: 2/1; ">
<div style="height: 100px;"></div>
</div>