E
E
Eugene Chefranov2018-03-04 21:52:23
JavaScript
Eugene Chefranov, 2018-03-04 21:52:23

What are the analogues of Masonry?

Tell me, what are the analogues of Masonry?

I need to fill the block with pictures approximately as follows. It is
5a9c3f67affc8413306408.png

necessary that the block be completely filled with pictures without empty space (only a small space between the pictures) and there should be at least some kind of adaptive.

For some reason, my Masonry crookedly displays images every other time and it does not completely fill the entire space.

I have already looked at such plugins: flexImages, RowGrid.js - they only build rows, but it is necessary that the pictures (even if they are large) line up in a row and a column.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
HamSter, 2018-03-04
@HamSter007

For example using css grid - an example on codepen , but the support is not very good.
Example using flex
Article with examples: Simple Masonry layouts with CSS Flexbox

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question