Re: [csswg-drafts] [mediaqueries][css-conditional] else

As I consider CSS to be more on the declarative than imperative side, **if** is timeless then IMHO. 
```
<pattern> => application
@if(condition) { apply block }
selector_or_pattern { apply block }
```

Things turning on and off happens through user-interaction/behaviors/javascript/keyframes and those external processes simply set a different state (say window size or dom tree change) which "in theory" the css declarations that pattern match the conditions applies instantly without any delay (in theory!).

Anyway I'd 👍 by a big margin even using *@when*

-- 
GitHub Notification of comment by inoas
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/112#issuecomment-291245168 using your GitHub account

Received on Monday, 3 April 2017 19:17:14 UTC