Style transitionDelay Property

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP







<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]
-->




Style transitionDelay Property


❮ Style Object



Example


Wait 2 seconds before the transition effect starts:



document.getElementById("myDIV").style.transitionDelay = "2s";

Try it Yourself »


Definition and Usage


The transitionDelay property specifies when the transition effect will start.


The transitionDelay value is defined in seconds (s) or milliseconds (ms).



Browser Support


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














Property
transitionDelay 26.0 10.0 16.0 6.1
3.1 WebkitTransitionDelay
12.1

Syntax


Return the transitionDelay property:



object.style.transitionDelay

Set the transitionDelay property:



object.style.transitionDelay = "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

Technical Details








Default Value: 0
Return Value: A String, representing the transition-delay property of an element
CSS Version CSS3

Related Pages


CSS reference: transition-delay property




❮ Style Object

Popular posts from this blog

.name

Greenpeace

Thomas Howard, 21st Earl of Arundel