Y
Hacker News
new
|
ask
|
show
|
jobs
by
rebane2001
198 days 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
1 comments
shevy-java
198 days ago
But then why was it added?
link
magicalist
198 days ago
Because it's silly to rely on hard to read hacks when you could just add an if() function.
link
culi
198 days ago
Yup. 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
link