CSS transition-delay Property

Wait 2 seconds before the transition effect starts:

div {
transition-delay: 2s;

Try it Yourself »

Definition and Usage

The transition-delay property specifies when the transition effect will start.

The transition-delay value is defined in seconds (s) or milliseconds (ms).

Default value: 0s
Inherited: no
Animatable: no. Read about animatable
Version: CSS3
JavaScript syntax: object.style.transitionDelay=”2s” Try it
CSS Syntax
transition-delay: time|initial|inherit;
Property Values
Value Description
time Specifies the number of seconds or milliseconds to wait before the transition effect will start
initial Sets this property to its default value. Read about initial
inherit Inherits this property from its parent element. Read about inherit