Answer the question
In order to leave comments, you need to log in
How to make columns the same height in Bootstrap3?
Hello! When displaying a list of products in col-sm-6 blocks in Bootstrap with different contents of the columns, they acquire different heights and this is the problem
. Is there a solution using Bootstrap?
Answer the question
In order to leave comments, you need to log in
Solution here css.yoksel.ru/flexbox
I did and I solved a similar problem.
To do this, I created the row-flex class in css
.row-flex {
display: flex;
flex-flow: row wrap;
}
<div class="container-fluid">
<div class="row row-flex">
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
... содержимое блока ...
</div>
</div>
</div>
I honestly googled and slightly modified :)
https://jsfiddle.net/timych/uo3ktyqj/1/
Here you can see an example of columns of the same height for bootstrap 3 and 4, using flex-wrap
Columns of the same height Bootstrap 3
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question