I am working on a straightforward flexbox layout with a two-column grid setup.
<div class="flex relative">
<div class="columns-2 gap-4 space-y-4">
<div class="bg-red-500 p-10">1</div>
<div class="bg-blue-500 p-10 py-14">2</div>
<div class="bg-orange-500 p-10 py-20">3</div>
<div class="bg-green-500 p-10">4</div>
</div>
</div>
The issue I am facing is that the columns are arranged in the "incorrect" direction. The first row consists of div1 and div3, but I intend it to include div1 and div2 instead. How can I adjust the order?
I aim for the divs to be positioned as shown here: https://i.sstatic.net/4MBCH.png