Answer the question
In order to leave comments, you need to log in
Is the thumbnail tile properly laid out?
The site has a tile of preview images, some of which are twice as large as usual. Pictures are displayed through background-cover.
For the sake of adaptability, the width of the preview div is set as a percentage, and the height is calculated proportionally to the width thanks to this trick:
jsfiddle.net/qso14y3k
Plus, a masonry script has been added so that there are no holes.
Who cares, the result: n-architects.ru/projects
Interested in how adequate such a solution is. In addition, I can’t understand why in Firefox, when scrolling down quickly, the pictures blink, as if they are being loaded. There is no such thing in Chrome.
Answer the question
In order to leave comments, you need to log in
in general, the font itself would also change in size as the window size decreases
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question