- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Thu, 02 Nov 2023 21:21:12 +0000
- To: public-css-archive@w3.org
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-align] Add percentage values for alignment == As @annevk and I were looking into styling of switch and range controls, it became obvious that it would be useful to be able to position things e.g. halfway between `start` and `end`. So opening this issue to add `<percentage>` values to `align-self` and `justify-self` (and maybe also `align-content` and `justify-content`, although I'm less convinced that's necessary). These would interpolate between 0% = start and 100% = end, just like for `background-position`. Open questions: - Do we want to allow keywords to combine with percentages, to allow interpolation along the various directional axes besides `start`/`end`? - Do we want to allow values outside of the 0-100% range (which has pretty weird results in some cases, but might be useful) or clamp to that range? (This has been on my "potential extensions to alignment" list for awhile, but now there's an obvious use case, so filing it for consideration...) Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9556 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 2 November 2023 21:21:14 UTC