<div class="grid grid-flow-col auto-cols-max">
<div class="p-4 mr-2 bg-teal-400">1</div>
<div class="p-4 mr-2 bg-teal-400">2</div>
<div class="p-4 mr-2 bg-teal-400">3</div>
</div>
<div class="grid grid-flow-col auto-cols-max">
<div class="p-4 mr-2 bg-teal-400">1</div>
<div class="p-4 mr-2 bg-teal-400">2</div>
<div class="p-4 mr-2 bg-teal-400">3</div>
</div>