Categories
How to get rid of empty spaces between pictures?
How can I get rid of empty spaces between pictures when some of them disappear? code pen
Answer the question
In order to leave comments, you need to log in
I think in this case it is better to use not grid, but flexbox. There, all the pictures will be in the same sequence, and when hidden, they will be rebuilt correctly.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question