Transition Timing Function
v1.2.0+
Utilities for controlling the easing of CSS transitions.
Use the utilities to control an element’s easing curve.
To control an element’s transition-timing-function at a specific breakpoint, add a {screen}:
prefix to any existing transition-timing-function utility. For example, use md:ease-in-out
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 four general purpose transition-timing-function utilities. You change, add, or remove these by customizing the transitionTimingFunction
section of your Tailwind theme config.
By default, only responsive variants are generated for transition-timing-function utilities.
You can control which variants are generated for the transition-timing-function utilities by modifying the transitionTimingFunction
property in the section of your tailwind.config.js
file.
For example, this config will also generate hover and focus variants: