asp.net.ph

Skip Navigation LinksAbakada: Back to Basics > Language References > CSS Properties > Transition Properties > transition-delay Property

transition-delay | transitionDelay CSS Property


Specifies when the transition effect will start.

Syntax

CSS { transition-delay: time }
Script object.style.transitionDelay = time

Possible Values

Parameter Description Valid Values
time Sets the length of time before a transition starts. floating point number representing a time value expressed as seconds (s) or milliseconds (ms)

The property is read/write with a default value of 0s; this attribute is not inherited.

Remarks

The transition-delay property denotes the amount of time to wait before a transition starts. It allows a transition to begin execution after some period of time from when it is applied.

A transition-delay value of 0s means the transition will execute as soon as the property is changed. Otherwise, the value specifies an offset from the moment the property is changed, and the transition will delay execution by that offset.

A positive value delays the start of the transition, while a negative value causes it to begin immediately, potentially partway through the transition.

Example

This example shows the effects of applying different transition-delay values.

Run Sample | View Source

NOTE: This section is currently under major reconstruction. Please bear with whatever inconvenience you may encounter; we hope to complete the job at the soonest possible time.

For a brief overview, please see Understanding and Using CSS Transitions.

See Also

transition, transition-property, transition-duration, transition-timing-function, transition-behavior



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note