Re: @else in Media Queries

> On Jun 11, 2016, at 18:24, Daniel Glazman <daniel.glazman@disruptive-innovations.com> 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

Received on Saturday, 11 June 2016 09:30:45 UTC