diff --git a/README.md b/README.md index 1c68759..4638917 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,20 @@ $ npm install animate.css --save ``` - or use the version hosted by [CDNJS](https://cdnjs.com/libraries/animate.css) + 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.