Update 7-animation/2-css-animations/article.md

Co-authored-by: Muhammed Zakir <8190126+MuhammedZakir@users.noreply.github.com>
This commit is contained in:
Peter Kampjes 2020-09-22 19:38:22 -03:00 committed by GitHub
parent 74526b4800
commit e0db058851
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ In `transition-duration` we can specify how long the animation should take. The
## transition-delay
In `transition-delay` we can specify the delay *before* the animation. For instance, if `transition-delay: 1s`, then the animation starts 1 second after the property change.
In `transition-delay` we can specify the delay *before* the animation. For instance, if `transition-delay` is `1s` and `transition-duration` is 2s, then the animation starts 1 second after the property change and the total duration will be 2 seconds.
Negative values are also possible. Then the animation starts from the middle. For instance, if `transition-duration` is `2s`, and the delay is `-1s`, then the animation takes 1 second and starts from the halfway point.