CSS animation-delay Property
Description
The animation-delay property in CSS is used to define a pause or delay before an animation sequence begins. Unlike most other animation properties that influence the duration, speed, or iteration of an animation, animation-delay specifically controls the starting point. By setting a positive value, developers can create staggered effects or synchronize multiple animations in a visually appealing manner. This makes it particularly useful for complex user interfaces where elements need to animate in a specific order rather than all at once.
When applied, animation-delay affects the entire timeline of an animation. For example, if an element’s animation is set to last 2 seconds, but animation-delay is set to 1 second, the animation will only visibly start after 1 second has passed. This is different from delaying individual steps within an animation, which would require adjusting keyframes or using the animation-timing-function. The property can also accept negative values, which is a subtle but powerful feature. A negative delay causes the animation to begin partway through its cycle, as if it had already been playing for that amount of time. This allows developers to create effects where animations appear more dynamic or continuous without changing the keyframes themselves.
In practical usage, animation-delay is commonly paired with properties like animation-duration and animation-iteration-count to finely tune the behavior of animated elements. Designers often use it to orchestrate entrance effects, hover interactions, or sequential loading animations. By staggering delays across multiple elements, one can achieve a cascading effect that enhances the overall user experience and draws attention to specific areas of a webpage. The property is simple in concept but can dramatically elevate the perceived smoothness and polish of an interface when used thoughtfully.
Definition
- Initial value
- 0s
- Applies to
- All elements, :before and :after pseudo elements
- Inherited
- No
- Computed value
- As specified
- Animatable
- No
- JavaScript syntax
- object.style.animationDelay
Interactive Demo
Syntax
animation-delay: <time> [, <time>]*
Values
- <time>Is the amount of time to wait between a property's value changing and the start of the animation effect.
Example
Browser Support
The following information will show you the current browser support for the CSS animation-delay property. Hover over a browser icon to see the version that first introduced support for this CSS property.
This property is supported by all modern browsers.
Desktop
Tablets & Mobile
Last updated by CSSPortal on: 1st January 2026
