ExampleWait 2 seconds before the transition effect starts:
Try it yourself » |
The transition-delay property is not supported in any browsers.
Safari and Chrome support an alternative, the -webkit-transition-delay property.
Opera support an alternative, the -o-transition-delay property.
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: | 0 |
---|---|
Inherited: | no |
Version: | CSS3 |
JavaScript syntax: | object.style.transitionDelay="2s" |
transition-delay: time; |
Value | Description |
---|---|
time | Specifies the number of seconds or milliseconds to wait before the transition effect will start |