/

HTML / CSS / JavaScript Tutorial

CSS Property: transition

[this page | pdf | back links]

The CSS (CSS3) transition property is a shorthand property combining the 4 transition sub-properties.

 

Valid property values (other than inherit and initial) are defined by the elements of the shorthand. Shorthand elements (in the order in which they appear):

 

-        transition-property

-        transition-duration

-        transition-timing-function

-        transition-delay

 

Default Value:

See individual properties

JavaScript syntax:

e.g. object.style.transition="all 5s"

Inherited:

No

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile