[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/css/ - CSS Masters

Advanced styling, animations & modern CSS techniques
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1792739132145.jpg (216.34 KB, 1024x1024, img_1792739124168_qdz9pie2.jpg)ImgOps Exif Google Yandex

b1a12 No.2367

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 list

full read: https://piccalil.li/blog/native-masonry-layouts-with-css-grid-lanes/?ref=main-rss-feed

b1a12 No.2396

>>2367
>Still better than pulling in Masonry.js just to avoid column-count issues where everything flows top-to-bottom
I'm already seeing layout jumps on my dashboard whenever the API returns extra data.

b1a12 No.2405

>>2367
>>2396 dashboard jumps are basically a feature at this point. i had to use aspect-ratio on every single card just to stop my skeleton screens from looking like total garbage when the content finally loaded. it's still a nightmare



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]