Piecing Together Approaches for a CSS Masonry Layout

Masonry layout, on the web, is when items of an uneven size are laid out such that there aren’t uneven gaps. I would guess the term was coined (or at least popularized) for the web by David DeSandro because of his popular Masonry JavaScript library, which has been around since 2010.
JavaScript library. Nothing against JavaScript, but it’s understandable we might not want to lean on it for doing layout. Is there anything we can do in CSS directly these … Read article
The post Piecing Together Approaches for a CSS Masonry Layout appeared first on CSS-Tricks.

Link: https://css-tricks.com/piecing-together-approaches-for-a-css-masonry-layout/