/

HTML / CSS / JavaScript Tutorial

CSS Property: transition-property

[this page | pdf | back links]

The CSS (CSS3) transition-property property identifies the properties that change as part of a transition effect. You should always specify the transition-duration property as well, as otherwise it defaults to zero.

 

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

 

Value

Description

property

Comma separated list of CSS properties to which transition is applied

all

(default value). Transition effect is applied to all CSS properties

none

Transition effect is applied to no properties

 

Default Value:

all

JavaScript syntax:

e.g. object.style.transitionProperty="width"

Inherited:

No

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile