I am facing an issue with the layout of my columns within a row. I have two columns inside the row and another column outside of the first row.
The problem is that the third column (col-3) starts at the end of col-1, causing a gap between col-1 and col-3 in desktop mode. This gap keeps expanding as big as col-2 is. How can I adjust this so that col-3 does not start after col-2's height, eliminating the large space between col-1 and col-3?
Here is how it currently looks:
|col-1 ||col-2|
| || |
------- | |
| |
---------
col-3
---------
This is how it should look instead:
|col-1 ||col-2|
| || |
------- | |
col-3 | |
---------| |
I have tried placing all columns inside one row and using order-first and order-last attributes without success. Here is my code snippet:
<div class="row">
<div class="col-md-8">
col-1
</div>
<div class="col-md-4">
col-2
</div>
<div class="col-md-8 pull-left">
col-3
</div>
</div>
The expected result is for there to be no space after col-1 with col-2, ensuring that col-3 does not start after col-2's height. Any suggestions on how to achieve this would be appreciated.