The goal is not to offer a solution that works in every browser—if you're supporting browsers that haven't implemented the CSS
animationproperty (e.g. IE9 and below), you'll want to detect support for the
animationproperty, and implement a fallback
The demo features 8 different styles for you to pick from. #6 is pretty rad if you can find a good use case for it. Check ’em out!