HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

transition-duration

Description

The transition-duration property for CSS defines the length of time a transition takes.

Syntax

CSS

transition-duration: value;

JS

object.style.transitionDuration = "value";

Values

<'transition-duration'> = <time>#
<time>

Defines how long of a delay there is between the start of the animation and when it begins executing.

ms

Milliseconds. There are 1000 milliseconds in 1 second.

s

Seconds.

Initial

0s

Examples

1 · time

2 · JS