Transition Delay
v1.3.0+
Utilities for controlling the delay of CSS transitions.
Use the utilities to control an element’s transition-delay.
To control an element’s transition-delay at a specific breakpoint, add a {screen}:
prefix to any existing transition-delay utility. For example, use md:delay-500
to apply the utility at only medium screen sizes and above.
For more information about Tailwind’s responsive design features, check out the Responsive Design documentation.
By default Tailwind provides eight general purpose transition-delay utilities. You change, add, or remove these by customizing the transitionDelay
section of your Tailwind theme config.
By default, only responsive variants are generated for transition-delay utilities.
You can control which variants are generated for the transition-delay utilities by modifying the transitionDelay
property in the section of your tailwind.config.js
file.
For example, this config will also generate hover and focus variants: