- From: inoas via GitHub <sysbot+gh@w3.org>
- Date: Mon, 03 Apr 2017 19:17:08 +0000
- To: public-css-archive@w3.org
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