- From: Bramus via GitHub <noreply@w3.org>
- Date: Thu, 04 Sep 2025 10:28:37 +0000
- To: public-css-archive@w3.org
Drive-by +1 on solving this issue. Comes up more often now, with the introduction of carousels in overflow-5. For example: https://chrome.dev/carousel/horizontal/cards/. I was more thinking of having something similar to grid’s `safe` keyword for use in a (new?) `scroll-snap-*` property. When applied, it would auto-pad the scroller so that the first item in the scroller can be snapped at the center of the scroller. ``` .gallery img { scroll-snap-align: safe center; } ``` -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7885#issuecomment-3252992975 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 4 September 2025 10:28:38 UTC