Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I recently discovered the same issue in a webapp I develop... a simple CSS animation for a "loading" spinner was pegging the CPU. Using steps(n) with a low number basically resolves the issue. https://css-tricks.com/snippets/css/keyframe-animation-synta...

Kind of ridiculous that it's so easy to make this mistake.



With great power (flexibility of JavaScript) comes great responsibility.




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

Search: