Hacker News new | ask | show | jobs
by dbbk 2847 days ago
You can use the Web Animations API for this: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animati...
1 comments

The Web Animations API is nice but it's a working draft that's only supported by FF and Chrome, no Safari or Edge.
Safari (desktop and iOS) is actually getting it in the next release. It's also well-polyfilled, we just add it to our Polyfill.io config.

According to caniuse, global native support is at 74%.