.row {
background: gray;
margin-top: 20px;
}
.col-md-6 {
border: solid 1px red;
padding: 10px;
}
<!--
Bootstrap docs: https://getbootstrap.com/docs
-->
<div class="container">
<div class="row">
<div class="col-md-6">
<div>Row1</div>
</div>
<div class="col-md-6">
Dummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy Text </div>
<div class="col-md-6">
<div>LeftRow2</div>
</div>
<div class="col-md-6">
<div>Riight Row2</div>
</div>
</div>
</div>
I need this not to have the space like in the photo, but the left col to go up and to have the same height https://i.sstatic.net/q2Zy2.jpg
I need this way because on responsive I need it to be like it is now like this, left column and right column below it https://i.sstatic.net/DbQYB.jpg
I tried the other way like this
.row {
background: gray;
margin-top: 20px;
}
.col-md-6 {
border: solid 1px red;
padding: 10px;
}
<div class="container">
<div class="row">
<div class="col-md-6">
<div>Row1</div>
<div>Riight Row2</div>
</div>
<div class="col-md-6">
Dummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy TextDummy Text
</div>
</div>
The second way I achieve what I want but then in responsive the right column it is not right below the left column it is like this, does anyone know how to solve this thank you. https://i.sstatic.net/1Mu9J.jpg