Syntax
Delay classes follow the patternanimate-delay-{value} where value can be:
- A predefined timing value (named)
- A numeric value in milliseconds
- An arbitrary value using square brackets
Predefined Delay Values
Named Delays
| Class | Value | Description |
|---|---|---|
animate-delay-none | 0ms | No delay (immediate start) |
animate-delay-0 | 0ms | No delay (immediate start) |
Numeric Delays
| Class | Value | Use Case |
|---|---|---|
animate-delay-100 | 100ms | Subtle stagger |
animate-delay-150 | 150ms | Gentle stagger |
animate-delay-200 | 200ms | Standard stagger |
animate-delay-250 | 250ms | Moderate stagger |
animate-delay-300 | 300ms | Noticeable delay |
animate-delay-400 | 400ms | Medium delay |
animate-delay-500 | 500ms | Half-second delay |
animate-delay-700 | 700ms | Long delay |
animate-delay-800 | 800ms | Extended delay |
animate-delay-900 | 900ms | Very long delay |
animate-delay-1000 | 1000ms | Full second delay |
Usage Examples
Basic Delay
Add a delay before an animation starts:Staggered Animations
Create sequential animations by using different delays:List Items with Stagger
Arbitrary Values
Use arbitrary values for custom delays:Combining with Other Animation Properties
Responsive Delays
Apply different delays at different breakpoints:Hover-Triggered Delayed Animations
Sequential Group Animations
Create complex animation sequences:Grid Stagger Pattern
Create staggered animations for grid items:Advanced: Negative Delays
While not directly supported, you can achieve negative delay effects by adjusting animation ranges or using custom CSS:CSS Variable Reference
All delay classes use the following CSS custom properties:Best Practices
Keep Delays Short
For user interfaces, keep delays under 500ms to maintain responsiveness:Use Consistent Increments
Maintain visual rhythm by using consistent delay increments:Consider Total Animation Time
Calculate total animation time (delay + duration) to ensure smooth user experience:Performance Notes
- Animation delays do not impact performance
- Delays are handled efficiently by the browser’s animation engine
- Multiple elements with different delays perform well
- Delays work correctly with hardware-accelerated properties
Browser Compatibility
Animation delay is supported in all modern browsers:- Chrome 43+
- Firefox 16+
- Safari 9+
- Edge 12+
- Opera 30+