Documentation fix.

The classes names in some code examples are wrong.
This commit is contained in:
Sebastián Weidmann 2020-05-22 17:06:41 -04:00 committed by GitHub
parent 92f2e1acce
commit f79e84617f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,12 +53,12 @@ The `animate__animated` class has a default speed of `1s`. You can also customiz
```css ```css
/* All animations will take twice as long to finish */ /* All animations will take twice as long to finish */
:root { :root {
--animation-duration: 2s; --animate-duration: 2s;
} }
/* Only this element will take half the time to finish */ /* Only this element will take half the time to finish */
.my-element { .my-element {
--animation-duration: 0.5s; --animate-duration: 0.5s;
} }
``` ```
@ -85,6 +85,6 @@ As with the repeat and speed classes, the `animate__repeat` class is based on th
It's better to set this property only locally and not globally or It's better to set this property only locally and not globally or
you might end up with a messy situation */ you might end up with a messy situation */
.my-element { .my-element {
--animation-repeat: 2; --animate-repeat: 2;
} }
``` ```