The animation-duration CSS property defines the duration of a single animation cycle.
object.style.animationDuration = "value";
<'animation-duration'> = <time>#
Defines how long of a delay there is between the start of the animation and when it begins executing.
Milliseconds. There are 1000 milliseconds in 1 second.