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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.