Animations
suggest changeSyntax
transition: <property> <duration> <timing-function> <delay>;@keyframes <identifier>[ [ from | to | <percentage> ] [, from | to | <percentage> ]* block ]*
Parameters
Transition
| Parameter | Details |
|---|---|
| property | The CSS property to transition, or all, which targets every animatable property. |
| duration | Transition time, in seconds or milliseconds. |
| timing-function | How intermediate values are computed. Common values are ease, linear, and step-end. See the easing function cheat-sheet. |
| delay | Time to wait, in seconds or milliseconds, before the transition starts. |
@keyframes
| Parameter | Details |
|---|---|
from, to, or <percentage> |
A point on the animation timeline. Several percentages, such as 10%, 20%, can share one declaration block. That holds the same values at each listed point; it does not by itself fill every moment between them. |
| block | The CSS properties applied at that keyframe. |
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents