animation-duration

Sets the duration of the time that an animation takes to finish one cycle.

Example

Initial value 0s
Applies to all elements in the page

Syntax

  
animation-duration: 3000ms;
  

Values

The duration of time in seconds (s) or milliseconds (ms) that an animation takes to complete one cycle.

Browser support

animation-duration 1 1 3.5 1 12 3

We use cookies to improve your experience. Learn more in our Privacy policy.

×