You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`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.
5
6
@@ -10,87 +11,97 @@ To install via Bower, simply do the following:
10
11
```bash
11
12
$ bower install animate.css --save
12
13
```
14
+
13
15
or you can install via npm:
14
16
15
17
```bash
16
18
$ npm install animate.css --save
17
19
```
18
20
19
21
## Basic Usage
22
+
20
23
1. Include the stylesheet on your document's `<head>`
21
24
22
-
```html
23
-
<head>
24
-
<linkrel="stylesheet"href="animate.min.css">
25
-
</head>
26
-
```
27
-
Instead of installing you may use the remote version (hosted by [CDNJS](https://cdnjs.com/libraries/animate.css)):
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:
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:
[Check out all the animations here!](https://daneden.github.io/animate.css/)
84
92
85
93
## Usage
94
+
86
95
To use animate.css in your website, simply drop the stylesheet into your document's `<head>`, and add the class `animated` to an element, along with any of the animation names. That's it! You've got a CSS animated element. Super!
87
96
88
97
```html
89
98
<head>
90
99
<linkrel="stylesheet"href="animate.min.css">
91
100
</head>
92
101
```
102
+
93
103
or use the version hosted by [CDNJS](https://cdnjs.com/libraries/animate.css)
@@ -156,9 +171,10 @@ You can change the duration of your animations, add a delay or change the number
156
171
}
157
172
```
158
173
159
-
*Note: be sure to replace "vendor" in the CSS with the applicable vendor prefixes (webkit, moz, etc)*
174
+
_Note: be sure to replace "vendor" in the CSS with the applicable vendor prefixes (webkit, moz, etc)_
160
175
161
176
## Custom Builds
177
+
162
178
Animate.css is powered by [gulp.js](http://gulpjs.com/), and you can create custom builds pretty easily. First of all, you’ll need Gulp and all other dependencies:
163
179
164
180
```sh
@@ -183,7 +199,9 @@ Next, run `gulp` to compile your custom builds. For example, if you want only so
183
199
```
184
200
185
201
## License
202
+
186
203
Animate.css is licensed under the MIT license. (http://opensource.org/licenses/MIT)
187
204
188
205
## Contributing
206
+
189
207
Pull requests are the way to go here. I apologise in advance for the slow action on pull requests and issues. I only have two rules for submitting a pull request: match the naming convention (camelCase, categorised [fades, bounces, etc]) and let us see a demo of submitted animations in a [pen](http://codepen.io). That last one is important.
0 commit comments