I have a unique setup in my Bootstrap grid, featuring 2 rows and 3 columns. On desktop, it displays like this:
|A|B|C|
|D|E|F|
However, the mobile view changes to:
|A|
|B|
|C|
|D|
|E|
|F|
My goal is for it to appear as follows on mobile:
|A|
|D|
|B|
|E|
|C|
|F|
Essentially, I am looking for a way to list all items of column 1 first, followed by column 2, and so on.
Is there a clever trick that can help me achieve this desired behavior in the grid?
<div class="container">
<div class = "d-flex row">
<div class="text-muted col-sm-2">A</div>
<div class="text-muted col-sm-2">B</div>
<div class="text-muted col-sm">C</div>
</div>
<div class = "d-flex row">
<div class="article-content col-sm-2">D</div>
<div class="article-content col-sm-2">E</div>
<div class="article-content col-sm">F</div>
</div>
Thank you!