TransitionTransition Timing Function

Transition Timing Function

Controls the speed curve of a transition effect.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari
ClassStyle
Something went wrong while fetching the data.

Usage

Use the ttf-* utilities to control the pace of a transition.

<div class="bg-indigo d-16 tp-a td-300 ttf-io 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:ttf-*, md:ttf-*, lg:ttf-*, and xxl:ttf-* to allow targeting specific utilities in different viewports.

Targeting hover states

Alternatively, you can apply :hover by using h:ttf-* utility to override elements and change their values when hovering over them.