Last week, I wrote about how I created the bitsofcode logo animation with CSS. After that, it was suggested that I attempt a comparison between a CSS animation and the Web Animations API, so here it is!
Introduction to the Web Animations API
Creating an Animation
To create an animation using the Web Animations API, we use the
... read the whole story at bitsofco.de.
Element.animate() function, which takes two arguments;