D
D
Dmitry Sergeevich2015-09-30 19:51:35
JavaScript
Dmitry Sergeevich, 2015-09-30 19:51:35

How do you assemble vertically adaptable blocks?

Hello! Often the task arises to make the output of the flow of blocks so that each block is vertically pressed against its neighbor from above. I have always used Masonry.Js for this . I like everything about it, except that the columns cannot be set to a width as a percentage ...

Share who solves this problem? I read somewhere that such a grid can be easily displayed with flex, but this does not suit me because I need to support old IE. I also briefly read about the SASS method on StackOfflow, but I don’t understand how you can build such grids using calc.

Share your experience. Thanks to all!

Picture to draw attention:

CODwUNY.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2015-09-30
@Taraflex

w3bits.com/css-masonry
Support
caniuse.com/#feat=multicolumn

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question