M
M
Maxim2472018-07-18 15:28:21
css
Maxim247, 2018-07-18 15:28:21

How to align row blocks in height?

Source code: https://codepen.io/MaxStik/pen/yqJmmJ
With a height of 100% it runs over the next block
5b4f321a8ed56706819495.png
is there any way to align them without JS?
In the project I use flex + grid from bootstrap
Need it like this joxi.ru/n2YgRWnSoeNoar
Block .filter-items

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Flying, 2018-07-18
@Maxim247

.wrapper {
  display: flex;
  flex-direction: column;
}
.filter-items {
    flex: 1 1 auto;
}

well, you have .wrapper specified only for the first block, but it should be (he or some other class) specified for all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question