# Animate.css [![GitHub release](https://img.shields.io/github/release/daneden/animate.css.svg)](https://github.com/daneden/animate.css/releases) [![Build Status](https://travis-ci.org/WarenGonzaga/animate.css.svg?branch=master)](https://travis-ci.org/WarenGonzaga/animate.css) [![devDependencies Status](https://david-dm.org/WarenGonzaga/animate.css/dev-status.svg)](https://david-dm.org/WarenGonzaga/animate.css?type=dev) [![chat](https://img.shields.io/badge/chat-gitter-green.svg)](https://gitter.im/animate-css/Lobby) *Just-add-water CSS animation* `animate.css` is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness. ## Installation To install via Bower, simply do the following: ```bash $ bower install animate.css --save ``` or you can install via npm: ```bash $ npm install animate.css --save ``` ## Basic Usage 1. Include the stylesheet on your document's `
` ```html ``` Instead of installing you may use the remote version (hosted by [CDNJS](https://cdnjs.com/libraries/animate.css)): ```html ``` You may [generate a SRI hash](https://www.srihash.org/) of that particular version and then use it to ensure the file's integrity; also you can make anonymous requests to CDN by setting the corresponding [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute: ```html ``` 2. Add the class `animated` to the element you want to animate. You may also want to include the class `infinite` for an infinite loop. 3. Finally you need to add one of the following classes: | Class Name | |--------------------| | `bounce` | | `flash` | | `pulse` | | `rubberBand` | | `shake` | | `headShake` | | `swing` | | `tada` | | `wobble` | | `jello` | | `bounceIn` | | `bounceInDown` | | `bounceInLeft` | | `bounceInRight` | | `bounceInUp` | | `bounceOut` | | `bounceOutDown` | | `bounceOutLeft` | | `bounceOutRight` | | `bounceOutUp` | | `fadeIn` | | `fadeInDown` | | `fadeInDownBig` | | `fadeInLeft` | | `fadeInLeftBig` | | `fadeInRight` | | `fadeInRightBig` | | `fadeInUp` | | `fadeInUpBig` | | `fadeOut` | | `fadeOutDown` | | `fadeOutDownBig` | | `fadeOutLeft` | | `fadeOutLeftBig` | | `fadeOutRight` | | `fadeOutRightBig` | | `fadeOutUp` | | `fadeOutUpBig` | | `flipInX` | | `flipInY` | | `flipOutX` | | `flipOutY` | | `lightSpeedIn` | | `lightSpeedOut` | | `rotateIn` | | `rotateInDownLeft` | | `rotateInDownRight` | | `rotateInUpLeft` | | `rotateInUpRight` | | `rotateOut` | | `rotateOutDownLeft` | | `rotateOutDownRight` | | `rotateOutUpLeft` | | `rotateOutUpRight` | | `hinge` | | `jackInTheBox` | | `rollIn` | | `rollOut` | | `zoomIn` | | `zoomInDown` | | `zoomInLeft` | | `zoomInRight` | | `zoomInUp` | | `zoomOut` | | `zoomOutDown` | | `zoomOutLeft` | | `zoomOutRight` | | `zoomOutUp` | | `slideInDown` | | `slideInLeft` | | `slideInRight` | | `slideInUp` | | `slideOutDown` | | `slideOutLeft` | | `slideOutRight` | | `slideOutUp` | Full example: ```html