jQuery plugin for managing CSS animations in a simple way.
What is does
CSS Mahoro adds/removes CSS animation classes for you at the right time
- Adds CSS animation class
- CSS animation running
- Removes CSS animation class
Usage
Example below are the usage with Animate.css. You can use any CSS animation as long as it triggers CSS animation on the element.
Basic
;
Chaining animations with promise
// Chaining animations with promise;
Hide
// For CSS animation that hides element;
Show
// For CSS animation that shows element// default display is `block`; // Custom `display` property
Install
NPM
npm install jquery-css-mahoro
CDN
CSS Mahoro uses unpkg.
License
jquery-css-mahoro is licensed under the MIT license. (http://opensource.org/licenses/MIT)