R
R
Rasul Gitinov2018-03-07 11:59:46
css
Rasul Gitinov, 2018-03-07 11:59:46

How to deal with responsiveness in Masonry JS?

There is a grid grid, here is an example .

There are square blocks and rectangular horizontal ones. I'm trying to make sure that the boxes don't collapse down until the rectangular horizontal boxes are 300px wide.

The problem is that the plugin starts dropping blocks at the moment when the square blocks reach the minimum width and the rectangular ones simply do not have time to shrink. I have done this in an example .

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question