animate-styles
Composable CSS Animations Built On animate.css
install
npm install animate-styles --save
usage
var animate = var yo = var el = yo`<h1 class="">hello</h1>`documentbody
extract the stylesheet
The stylesheet will need to be added to the document to view. Here is a way using csjs:
var animate = var csjs = var style = documentstyletextContent = csjsdocumenthead
Or check out csjs-extractify for extracting the CSS to files or csjs-injectify for injecting the CSS into the document.
using animation sets
The animations are exported as smaller sets based on animate-config.json.
var style = var yo = var el = yo`<h1 class="">bouncing</h1>`
customize the animations
var animate = var yo = var csjs = var style = csjs`.custom extends { animation-iteration-count: infinite;}`var el = yo`<h1 class="">animate-styles</h1>`