<div class="flex flex-wrap-reverse bg-gray-200">
<div class="w-2/5 flex-none bg-teal-400 p-4 m-2">1</div>
<div class="w-2/5 flex-none bg-teal-400 p-4 m-2">2</div>
<div class="w-2/5 flex-none bg-teal-400 p-4 m-2">3</div>
</div>
<div class="flex flex-wrap-reverse bg-gray-200">
<div class="w-2/5 flex-none bg-teal-400 p-4 m-2">1</div>
<div class="w-2/5 flex-none bg-teal-400 p-4 m-2">2</div>
<div class="w-2/5 flex-none bg-teal-400 p-4 m-2">3</div>
</div>
.flex-wrap-reverse {
flex-wrap: wrap-reverse;
}