Gets or sets one or more values that specify the offset within a transition (the amount of time from the start of a transition) before the transition is displayed for a set of corresponding object properties identified in the transition property.
This property is read/write.
One or more offset times, separated by commas.
Floating-point number, followed by a time units designator ("ms" or "s"). For more information about supported time units, see CSS Values and Units Reference.
|Applies To||all elements, :before and :after pseudo elements|
- CSS Transitions Module Level 3, Section 2.4
Values are rounded up to the second decimal place.
Each transition-delay is paired with a corresponding object property identified in the transition-property property.
If more transition-delay values are declared than corresponding object properties identified in the transition-property property, the excess transition-delay values are ignored.
If fewer transition-delay values are declared than corresponding object properties identified in the transition-property property, the list of transition-delay values is repeated from the beginning until the object properties are exhausted.
- How to bring your webpage to life with CSS transforms, transitions, and animations