Transition Duration
Controls the duration of a transition effect.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
| Class | Style |
|---|---|
| Something went wrong while fetching the data. | |
Usage
Use the td-* utilities to control the amount of time a transition should take to complete.
<div class="bg-indigo d-16 tp-a td-500 h:bg-indigo-3"></div>Using utility variants
Learn how to override existing utilities based on the user's screen size or other factors, such as hover states.
Targeting different viewports
You can combine responsive breakpoints like sm:td-*, md:td-*, lg:td-*, and xxl:td-* to allow targeting specific utilities in different viewports.
Targeting hover states
Alternatively, you can apply :hover by using h:td-* utility to override elements and change their values when hovering over them.