- From: Scott Kellum via GitHub <sysbot+gh@w3.org>
- Date: Fri, 10 Jan 2025 06:27:38 +0000
- To: public-css-archive@w3.org
scottkellum has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-scroll-snap][css-multicol] scroll-snap-align: column; == Scroll snap align spec: https://drafts.csswg.org/css-scroll-snap/#scroll-snap-align CSS Multicol spec: https://www.w3.org/TR/css-multicol-2/ It would be helpful when creating multicol areas with overflow that snap to columns. `scroll-snap-align: column;` Additionally, it would be nice to snap to pairs of columns at some breakpoints depending on how many columns fit into the viewport. It might look like this: `scroll-snap-align: column 2;` If each column were `40vw` wide, then this would create something like page “spreads” of a book. An example leveraging snapping to content inside of columns, which results in somewhat buggy behavior when that content spans a number of columns at once: https://codepen.io/scottkellum/pen/qBQYyGO?editors=1100 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11475 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 10 January 2025 06:27:39 UTC