- From: Johannes Odland via GitHub <sysbot+gh@w3.org>
- Date: Fri, 13 May 2022 07:18:57 +0000
- To: public-css-archive@w3.org
Love the idea to control styles based on a custom property. There's already a discussion on [higher level custom properties](https://github.com/w3c/csswg-drafts/issues/5624). Container queries could solve part of the use case: https://drafts.csswg.org/css-contain-3/#container-rule ``` my-button { container: my-button / style; } @container my-button style(--size = regular) { /* styles */ } ``` -- GitHub Notification of comment by johannesodland Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7273#issuecomment-1125733564 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 13 May 2022 07:18:58 UTC