When resizing the screen, the goal is to rearrange divs within 2 or 3 columns with a different order (view image HERE). The layout should have no large empty spaces between divs other than margins.
<div class="container-fluid">
<div class="row">
<div class="col-md-5 order-md-2 offset-md-7">**A**</div>
<div class="col-md-7 order-md-1">**B**</div>
<div class="order-md-5">**C**</div>
<div class="col-md-5 order-md-4 offset-md-7">**D**</div>
<div class="col-md-5 order-md-3 offset-md-5">**E**</div>
<div class="order-md-6">**F**</div>
</div>
</div>
Although I can arrange the items correctly, there appears to be a space in height between A and E that I'm unable to eliminate. Is this the correct approach, or is there another solution?
If you could guide me on how to achieve the same for the third column, I believe I can tackle it myself.
For reference, check out this example image showing divs in one column needing a different order spread across three columns: IMAGE