Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
shevy-java
· 12mo ago · 0 comments
But then why was it added?
Comments
[–]
magicalist
12mo ago
Because it's silly to rely on hard to read hacks when you could just add an if() function.
[–]
culi
12mo 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