Transition Property
Controls which properties should have 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 tp-* utilities to specify which properties should transition when their values change.
<div class="bg-indigo d-16 tp-a 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:tp-*, md:tp-*, lg:tp-*, and xxl:tp-* to allow targeting specific utilities in different viewports.
Targeting hover states
Alternatively, you can apply :hover by using h:tp-* utility to override elements and change their values when hovering over them.