Stateful CSS animation.
download and include state.css:
<link rel="stylesheet" type="text/css" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fstate.min.css"/>
you an use a CDN, such as, from jsDelivr:
<link rel="stylesheet" type="text/css" href="proxy.php?url=https%3A%2F%2Fcdn.jsdelivr.net%2Fgh%2Floadingio%2Fstate.css%40v0.0.1%2Fdist%2Fstate.min.css"/>
Add CSS class of desired state to your DOM element, along with additional ld class. Currently we only implement one animation ( ld-flip-ltr ):
<div class="ld ld-flip-ltr"> ... ( your content ) ... </div>
MIT License