Re: @else in Media Queries
Marat Tanalin <[email protected]>
| Newsgroups | gmane.comp.web.css.general |
|---|---|
| Message-ID | <[email protected]> |
14.06.2016, 13:32, "Sebastian Zartner" <[email protected]>: > You came up with an @when rule additionally to the @else rule. > Should these rules directly take a condition? If so, they would > need to cover media queries and support queries (and maybe other > conditional types in the future). Or should they support @media > and @supports rules inside their condition, somehow? Corresponding functions are supposed to be used: @when media(...) and supports(...) {...} See: [1] https://tabatkins.github.io/specs/css-when-else/ [2] https://github.com/w3c/csswg-drafts/issues/112