Answer the question
In order to leave comments, you need to log in
How to make the elements of two columns in a FLEX container "spread" to fit the height of the larger column?
There are 6 elements distributed in two columns. By default, they stick to each other, but it’s margin
impossible to separate them beautifully - they are div
of different heights. Therefore, it is necessary that their heights are the same, the upper elements are equal to each other, and the elements in the smaller column spread over its entire height. In addition, you need to be able to place everything in one column on the adaptive.
I am attaching an image for clarity. I know that on bootstrap this could be done in a jiffy, but in the TK they ordered vanilla css / html.
How it works:
How it works:
Answer the question
In order to leave comments, you need to log in
And if for the reason-blocks class add
Is this not it?
align-items: flex-start;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question