3 ms·
not as much as you would think, the if statements don't really affect the css crimes scene because pretty much everything was already possible before
by rebane2001 10mo ago
not as much as you would think, the if statements don't really affect the css crimes scene because pretty much everything was already possible before
- shevy-java 10mo agoBut then why was it added?
- magicalist 10mo agoBecause it's silly to rely on hard to read hacks when you could just add an if() function.
- culi 10mo agoYup. It's the same reason nested CSS was added. It doesn't really add any new functionality. Just makes your CSS neater (or way messier when misused). it's syntactic sugar really