I am struggling to achieve a specific bootstrap grid system and could use some guidance.
Here is the grid system I am trying to create:
https://i.sstatic.net/fhEHU.jpg
I have attempted to implement the grid system using the code provided in this JSFiddle.
<div class="container mt-5">
<div class="row">
<div class="col-lg-6 col-md-6 col-12 border bg-primary" style="height: 200px">
<h3>Bloc 1</h3>
</div>
<div class="col-lg-6 col-md-6 col-12 border bg-light">
<h3>Bloc 2</h3>
</div>
<div class="col-lg-6 col-md-12 bg-danger">
<h3>Bloc 3</h3>
</div>
</div>
</div>
The grid system is working fine for the xs and md sizes. However, I am facing difficulties with the lg version, specifically in stacking bloc number 2 (grey) on top of bloc number 3 (red). Is there a way to rearrange the columns to achieve this layout? As shown in the diagram above, bloc number 1 should be positioned at the bottom of the page.
Any help would be greatly appreciated. Thank you!