<div class="grid grid-flow-row auto-rows-auto">
<div class="p-4 mb-2 bg-teal-400">1</div>
<div class="p-4 mb-2 bg-teal-400">2</div>
<div class="p-4 bg-teal-400">3</div>
</div>
<div class="grid grid-flow-row auto-rows-auto">
<div class="p-4 mb-2 bg-teal-400">1</div>
<div class="p-4 mb-2 bg-teal-400">2</div>
<div class="p-4 bg-teal-400">3</div>
</div>