<div class="inline-flex flex-col-reverse">
<div class="bg-teal-400 p-4 m-2">1</div>
<div class="bg-teal-400 p-4 m-2">2</div>
<div class="bg-teal-400 p-4 m-2">3</div>
</div>
<div class="inline-flex flex-col-reverse">
<div class="bg-teal-400 p-4 m-2">1</div>
<div class="bg-teal-400 p-4 m-2">2</div>
<div class="bg-teal-400 p-4 m-2">3</div>
</div>
.flex-col-reverse {
flex-direction: column-reverse;
}