description & Usage
The animation-delay property sets a delay before the animation starts.
The delay value should be seconds or milliseconds ms.
Informations
# | Description |
---|---|
Default Value | 0s |
Inherited | no |
Animatable | no |
Version | CSS3 |
JavaScript syntax | object.style.animationDelay="1s" |
Browser compatibility and Support
The numbers inserted in the browser fields indicate the version that supports the animation-delay property.
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
animation-delay |
Syntax
Values
Values | Description |
---|---|
time | Specifies the delay time in seconds and milliseconds. |
initial | Adds this value to its default property. |
inherit | It inherits this value from its parent tag. |
Related Pages
CSS tutorial: CSS animations
HTML DOM reference: animationDelay property