Finally done with that annoying grid hack where you have to manually set every item's row span. It was such a pain for anything dynamic since it basically required knowing the height of every single element before the page even rendered.
>It relied on knowing each item's height in advance, making it less practical for dynamic content.Now we're getting display: grid-lanes which should handle the vertical packing properly without all that manual work. I'm still a bit skeptical about how much layout shift we might see during initial paint though. Still better than pulling in Masonry.js just to avoid column-count issues where everything flows top-to-bottom.
RIP my old dependency listfull read:
https://piccalil.li/blog/native-masonry-layouts-with-css-grid-lanes/?ref=main-rss-feed