6 ms·
It is actually responsive, I think because I used percentages in the CSS.
by codingclaws 2y ago
It is actually responsive, I think because I used percentages in the CSS.
- The_Colonel 2y agoSo it makes pictures larger / smaller based on the screen width? Usually what is expected is that with narrower screen, you get fewer columns, pictures are still same-ish size. You also need to keep the order of the items (e.g. on a wider screen 1, 2, 3, 4 are all on one row, with a smaller screen 1 and 2 are on a row, then 3 and 4 on another row).
- CodeWriter23 2y agoSo no different than current design paradigms (which I loathe btw) which give you the exact same content regardless of viewport size.
- The_Colonel 2y agoSure, but different from what the masonry design is meant to facilitate (check the linked demos). It's very useful esp. for a photo gallery kind of sites.