- From: Kevin Babbitt via GitHub <noreply@w3.org>
- Date: Mon, 16 Jun 2025 21:23:03 +0000
- To: public-css-archive@w3.org
For combining conditions of different types, what about something like:
```css
@prelude --foo {
@media (width >=768px);
@supports (anchor-name: --blah);
}
```
Or perhaps something similar to the grammar for `@when`:
```css
@prelude --foo (media(width >= 768px) and supports(anchor-name: --blah));
```
Having said that, I do also like the compactness and clarity of e.g. `@custom-media --foo (width >=768px);` when multiple types of conditions aren't needed.
--
GitHub Notification of comment by kbabbitt
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7622#issuecomment-2978192614 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 16 June 2025 21:23:04 UTC