CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS animation duration Property

CSS animation-duration Property



The animation-duration property is used to define how long an animation should take to complete one cycle.


Default Value:-


Its default value is 0.




Its syntax is:- animation-duration: time | initial | inherit;


Further Explanation:-


Value Description
time Specifies the length of time an animation should take to complete one cycle. The default value is 0. It is specified in seconds or milliseconds
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS