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
{{ message }}
This repository was archived by the owner on Nov 17, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: ui/animation.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -194,7 +194,7 @@ The following list presents all animation properties:
194
194
-**animation-name**: specifies the name of the @keyframes rule that should be used.
195
195
-**animation-delay**: specifies the time between the style is applied and the beginning of the animation.
196
196
-**animation-duration**: the length of the animation in seconds.
197
-
-**animation-iteration-count**: Specifies how many times the animation should be played. Default is 1. To repeat an animation forewer use infinite.
197
+
-**animation-iteration-count**: Specifies how many times the animation should be played. Default is 1. To repeat an animation forever use infinite.
198
198
-**animation-timing-function**: Defines how the animation transitions through keyframes, by establishing acceleration curves.
199
199
-**animation-fill-mode**: Configures what values are applied by the animation after it is executing.
200
200
-**animation-direction**: Configures whether or not the animation should alternate direction on each run through the sequence or reset to the start point and repeat itself.
@@ -211,7 +211,7 @@ To set multiple points at which an element should undergo a transition, use the
211
211
}
212
212
```
213
213
214
-
This example defines an animation with two keyframes. "from" represents 0% (the start of the animation) and "to" represents 100% (the final value). You can add more keyframes by using percents.
214
+
This example defines an animation with two keyframes. "from" represents 0% (the start of the animation) and "to" represents 100% (the final value). You can add more keyframes by using percent.
215
215
216
216
The following example will change the background-color when the animation is 25% complete, 50% complete, and again when the animation is 100% complete:
217
217
@@ -297,7 +297,7 @@ The **animation-timing-function** property specifies the speed curve of the anim
297
297
}
298
298
```
299
299
300
-
## Determine the result whent the animation ends
300
+
## Determine the result when the animation ends
301
301
302
302
The **animation-fill-mode** property determines the element style when the animation finishes. Its default value is "none". In this case all animated values will be reset to a previous value when the animation finishes. When using "forwards" all animated values will apply the property values for the time the animation ended.
0 commit comments