This property defines the length of time that an animation takes to complete one cycle. Negative values are not allowed. The initial/default value is '0s' meaning it takes no time.
Values for "animation-duration"
CSS Level | Value |
CSS Animations Level 2 | "[ auto | <time [0s,∞]> ]#" |
Notes
- So that animations work in major browsers, be sure to use the "animation-duration" property and the equivalent proprietary properties like "-moz-animation-duration", "-o-animation-duration", and "-webkit-animation-duration" ("-ms-animation-duration" is not needed).
Recommended Links
Search Engine Links (for more information)