Style transitionDuration 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 transitionDuration Property


❮ Style Object



Example


Speed up the transition effect:



document.getElementById("myDIV").style.transitionDuration = "1s";

Try it Yourself »


Definition and Usage


The transitionDuration property sets or returns how many seconds (s) or milliseconds
(ms) a transition effect takes to complete.



Browser Support


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














Property
transitionDuration 26.0 10.0 16.0 6.1
3.1 WebkitTransitionDuration
12.1

Syntax


Return the transitionDuration property:



object.style.transitionDuration

Set the transitionDuration property:



object.style.transitionDuration = "time|initial|inherit"

Property Values










Value Description
time Specifies how many seconds or milliseconds a transition effect takes to complete. Default value is 0, meaning there will be no effect
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-duration property of an element
CSS Version CSS3

Related Pages


CSS reference: transition-duration property




❮ Style Object

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)