Re: @else in Media Queries

Florian Rivoal <[email protected]>
Newsgroups gmane.comp.web.css.general
Message-ID <[email protected]>
> On Jun 11, 2016, at 18:24, Daniel Glazman <[email protected]> wrote:
> 
> On 11/06/2016 09:54, Mark Brown wrote:
> 
>> Has anyone considered something like
>> 
>>  @switch {
>>      @case C1 { ... }
>>      @case C2 { ... }
>>      @default { ... }      /* optional */
>>  }
> 
> /me faints.

I don't see why. This seems to be a honest attempt at dealing with your problem of stray things being left behind. Whether the syntax is palatable is a subjective question, but it looks like this would deal with what you didn't like about @else.

 - Florian
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.