mirror of
https://github.com/animate-css/animate.css.git
synced 2024-09-28 22:11:31 +02:00
Documentation fix.
The classes names in some code examples are wrong.
This commit is contained in:
parent
92f2e1acce
commit
f79e84617f
@ -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;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user