The animationDuration
property gets and sets how many seconds or milliseconds an animation takes to complete one cycle.
Return the animationDuration property:
var v = object.style.animationDuration;
Set the animationDuration property:
object.style.animationDuration='time|initial|inherit'
time
set the time span in seconds or milliseconds for one animation cycle. Default value is 0, meaning there will be no animation