Transition Timing Function
Utilities for controlling the easing of CSS transitions.
Use the utilities to control an element’s easing curve.
Hover each button to see the expected behaviour
Tailwind lets you conditionally apply utility classes in different states using variant modifiers. For example, use hover:ease-in
to only apply the ease-in
utility on hover.
For a complete list of all available state modifiers, check out the documentation.
You can also use variant modifiers to target media queries like responsive breakpoints, dark mode, prefers-reduced-motion, and more. For example, use to apply the ease-in
utility at only medium screen sizes and above.
To learn more, check out the documentation on , Dark Mode and .
tailwind.config.js
Learn more about customizing the default theme in the theme customization documentation.
If you need to use a one-off transition-timing-function
value that doesn’t make sense to include in your theme, use square brackets to generate a property on the fly using any arbitrary value.
Learn more about arbitrary value support in the arbitrary values documentation.