The animation-delay property in CSS is used to specify the delay for the start of an animation. The animation-delay value is defined in seconds (s) or milliseconds (ms).
- time: This value is optional. It is used to define the number of seconds (s) or milliseconds (ms) to wait before the animation will start, that is the amount of time for which the animation will be delayed. The default value is 0. Negative values are allowed. If a negative value is used, the animation will start as if it had already been playing for N seconds/milliseconds.
- initial: This value is used to set the property to its default value.
- inherit: This value is used to inherits the property from its parent element.
Example: HTML program to illustrate the CSS animation-delay property.
Supported Browser: The browser supported by animation-delay are listed below:
- Google Chrome 43.0
- Internet Explorer 10.0
- Firefox 16.0
- Opera 30.0
- Safari 9.0
- HTML | DOM Style animationDelay Property
- CSS | transition-property Property
- How to override the CSS properties of a class using another CSS class ?
- Difference between bootstrap.css and bootstrap-theme.css
- CSS | table-layout Property
- CSS | text-align Property
- CSS | border-top-width Property
- CSS | isolation Property
- CSS | border-inline-start-style Property
- CSS | column-rule-width Property
- CSS | word-spacing Property
- CSS | margin-top Property
- CSS | border radius property
- CSS | grid Property
- CSS | font-size-adjust Property
- CSS | visibility Property
- CSS | Display property
- CSS | grid-template-columns Property
- CSS | height Property
- CSS | transform-origin Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.