I currently have a 2 column webpage with 2 cards on the left and 4 cards on the right. When I view the page on a smaller screen (lg or below), the columns reshuffle, as designed, to stack the cards on the left on top of the cards on the right.
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="row">
<div class="col-xl-6 col-lg-12">
<div class="card">XL-Left-1 LG&Below-1</div>
<div class="card">XL-Left-2 LG&Below-4</div>
</div>
<div class="col-xl-6 col-lg-12">
<div class="card">XL-Right-1 LG&Below-2</div>
<div class="card">XL-Right-1 LG&Below-3</div>
<div class="card">XL-Right-1 LG&Below-6</div>
<div class="card">XL-Right-1 LG&Below-5</div>
</div>
</div>
I would like to have the cards in a particular order once the screen size is "lg". How do I achieve this? The current layout is above, and I have put the order I would like the cards as "LG&Below"
Hope this makes sense!