Stateful CSS animation.
download and include state.css:
<link rel="stylesheet" type="text/css" href="state.min.css"/>
you an use a CDN, such as, from jsDelivr:
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/loadingio/state.css@v0.0.1/dist/state.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