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

I've had pretty terrible performance with complicated CSS animations that I managed to clear up with switching to JavaScript and requestAnimationFrame



Are you animating the transform/opacity properties and only those? That's the general secret to smooth animations on web - they're GPU accelerated, everything else requires a call into the browser's layout engine on every frame.




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

Search: