Easy Tutorial
❮ Sel Attribute Value Lang Pr Dim Max Width ❯

CSS3 transition-duration Property

Example

Transition effect appears over the last 5 seconds:


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

The numbers preceding -webkit-, -ms-, or -moz- indicate the first browser version that supports the prefixed property.

Property
transition-duration 26.0 <br>4.0 -webkit- 10.0 16.0 <br>4.0 -moz- 6.1 <br>3.1 -webkit- 12.1 <br>10.5 -o-

Property Definition and Usage

The transition-duration property specifies the length of time (in seconds or milliseconds) that a transition effect should take to complete.

Default value: 0
Inherited: no
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.transitionDuration="5s"
--- ---

Syntax

Value Description
time Specifies the duration of the transition effect in seconds or milliseconds.
The default value is 0, which means no effect.
❮ Sel Attribute Value Lang Pr Dim Max Width ❯