- From: Jake Archibald via GitHub <sysbot+gh@w3.org>
- Date: Thu, 22 Sep 2022 16:08:43 +0000
- To: public-css-archive@w3.org
Rather than make media queries & container queries work in selectors, would it be better to make selectors work in @ rules when nested?
I haven't thought hard about the parsing here, but something like:
```css
:root {
@media (prefers-color-scheme: dark),
&.dark {
/* dark mode rules */
}
}
```
--
GitHub Notification of comment by jakearchibald
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6247#issuecomment-1255245326 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 22 September 2022 16:08:44 UTC