Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit 15d97be

Browse files
author
Tsvetan Raikov
committed
Added documentation about CSS animations
1 parent ff203a4 commit 15d97be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/animation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ The following list presents all animation properties:
194194
- **animation-name**: specifies the name of the @keyframes rule that should be used.
195195
- **animation-delay**: specifies the time between the style is applied and the beginning of the animation.
196196
- **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.
198198
- **animation-timing-function**: Defines how the animation transitions through keyframes, by establishing acceleration curves.
199199
- **animation-fill-mode**: Configures what values are applied by the animation after it is executing.
200200
- **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
211211
}
212212
```
213213

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.
215215

216216
The following example will change the background-color when the animation is 25% complete, 50% complete, and again when the animation is 100% complete:
217217

@@ -297,7 +297,7 @@ The **animation-timing-function** property specifies the speed curve of the anim
297297
}
298298
```
299299

300-
## Determine the result whent the animation ends
300+
## Determine the result when the animation ends
301301

302302
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.
303303

0 commit comments

Comments
 (0)