Answer the question
In order to leave comments, you need to log in
How to execute the layout of such a block?
Hello!
I started doing layout, I already broke my head, how to make layout like this layout:
The height of the columns is the same, but when narrowing / increasing the screen, the columns should adapt proportionally, while the distance between them remains the same.
I've already tried a bunch of options in flexbox, but I just can't think of the final one.
Answer the question
In order to leave comments, you need to log in
I made it with flex, so this thing will work in IE11 too. Although it's easier to do with grid. In general, this can be done at least on a float (but not necessary).
You can even arrange them differently, nothing will fall apart:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question