/

HTML / CSS / JavaScript Tutorial

CSS Property: transition-duration

[this page | pdf | back links]

The CSS (CSS3) transition-duration property indicates how long a transition will take to complete.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

time

The CSS time a transition will take to complete once started

 

Default Value:

0s

JavaScript syntax:

e.g. object.style.transitionDuration="4s"

Inherited:

No

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile