Re: @else in Media Queries
"Tab Atkins Jr." <[email protected]>
| Newsgroups | gmane.comp.web.css.general |
|---|---|
| Message-ID | <CAAWBYDB_NW3tZpSNesMpyKifW3BQc_B1T=9Z7EdhNP1-6O_vOw@mail.gmail.com> |
On Tue, Jun 14, 2016 at 3:28 AM, Sebastian Zartner <[email protected]> wrote: > One question to the presented syntax. 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? I'm not entirely sure what you're asking, because it *sounds* like it's something well-defined by the spec: @when and @else have a genericized condition language that covers both MQs and support queries. ~TJ