3 ms·
> There might be some inherent value of avoiding javascript CSS transitions are faster than JavaScript animations[1]. Browser could easily optimize them (sinc
by sirn 15y ago
> There might be some inherent value of avoiding javascript
CSS transitions are faster than JavaScript animations[1].
Browser could easily optimize them (since each keyframes are predefined) vs. DOM manipulation, which is always slow.
[1]: https://developer.mozilla.org/en/CSS/CSS_animations https://developer.mozilla.org/en/CSS/CSS_animations