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

animation-duration

Description

The animation-duration property for CSS defines the duration of a single animation cycle.

Syntax

CSS

animation-duration: value;

JS

object.style.animationDuration = "value";

Values

<'animation-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 · ms

2 · time · s

3 · JS