- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Thu, 17 Apr 2025 17:23:33 +0000
- To: public-css-archive@w3.org
noamr has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-shapes-2][css-grid-3] stretch `shape()` based on grid positions (or other layout)? == The current `shape()` function can use length/percentage units to create a path. This allows a lot of responsive expression. However, the responsiveness of the shape is independent of the responsiveness of the content, which might respond to layout such as CSS grid. I wonder if there is merit in allowing a `shape()` to respond not just to length/percent, but also to coordinates determined by layout. This can allow, for example, creating a rounded hexagon that gets its edges sized according to the content it encompasses. (Putting this here in a very raw form to invoke thought, would add more once I've thought about this more myself). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12097 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 17 April 2025 17:23:34 UTC