3 ms·
You have to give it to CSS, it's held out for a lot longer than most.
by lucideer 11mo ago
You have to give it to CSS, it's held out for a lot longer than most.
- rebane2001 11mo agonot 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 11mo agoBut then why was it added?
- magicalist 11mo agoBecause it's silly to rely on hard to read hacks when you could just add an if() function.
- culi 11mo 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