Hacker News new | past | comments | ask | show | jobs | submit login

The main benefit of using CSS anything is less code. Less javascript to maintain, less code to test, less bugs. A compile error in javascript means your entire site doesn't work. An error in CSS means a single definition gets skipped.



I agree. A much more interesting topic for me would've been: "CSS or JS Animations: does it matter?" I would say if you have so much animations that CSS can't handle it it's too much. But thats just a rule of thumb from my gut feelings.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: