I have a simple section in which I want to display nested elements using bootstrap.
Here is what I have so far
HTML ;
<div class="container">
<div class="row d-flex d-lg-block">
<div class="col-lg-8 order-1 float-left">
<div class="card card-body tall">2</div>
</div>
<div class="col-lg-4 order-0 float-left">
<div class="card card-body">1</div>
</div>
<div class="col-lg-4 order-1 float-left">
<div class="card card-body">3</div>
</div>
</div>
</div>
This give me this result
desktop version
--------- ------
| 2 || 1 |
| || |
| |-------
| || 3 |
| || |
| |-------
| |
| |
---------
No I want the same but reversed , something like this
--------- ---
| 1 | | 2 |
| | | |
------- | |
| 3 | | |
| | | |
------- | |
-----
mobile version (stacked in order) like this
--------
| 1 |
| |
--------
| 2 |
| |
| |
| |
| |
| |
--------
| 3 |
| |
--------
I tried to use float-right
but unfortunately, it's not working
what do I need to change to get what I want?