CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: "animation-duration" CSS property

The "animation-duration" CSS Property

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 LevelValue
CSS Animations Level 2"[ auto | <time [0s,∞]> ]#"


  • 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)

Help us improve this page: Suggest a link or noteReport a problem