CSS Animations vs Web Animations API

There is a native API for animation in JavaScript known as the Web Animations API. We’ll call it WAAPI in this post. MDN has good documentation on it, and Dan Wilson has a great article series.
In this article, we’ll compare WAAPI and animations done in CSS.

A note on browser support
WAAPI has a comprehensive and robust polyfill, making it usable in production today, even while browser support is limited.
As ever, you can check Can I …

CSS Animations vs Web Animations API is a post from CSS-Tricks

Link: https://css-tricks.com/css-animations-vs-web-animations-api/