- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Wed, 15 May 2024 06:25:35 +0000
- To: public-css-archive@w3.org
For `@media` this same feature is currently specified as `@custom-media` : https://drafts.csswg.org/mediaqueries-5/#custom-mq ```css @custom-media --modern (color), (hover); @media (--modern) and (width > 1024px) { .a { color: green; } } ``` This separates declaring a scope and using a scope. -- GitHub Notification of comment by romainmenke Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10336#issuecomment-2111676782 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 15 May 2024 06:25:35 UTC