css-transition
Animate between DOM style changes using css transitions.
Also supports a few extra transitions not currently available in vanilla css such as position (static
<-> absolute
/fixed
) and auto values (e.g. height: auto
).
Install
$ npm install css-transition
Example
Element with content
var cssTransition = var element = document
Run npm run example
and navigate to http://localhost:9966
to see it in action.