Transition Timing Function

Set the speed curve for a transition effect.

Widely available

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

Chrome
Edge
Firefox
Safari

Usage

Try hovering the div to see how long it takes for the color to change.

Linear

<div class="w-16 h-16 bg-indigo tp-a tdu-500 ttf-l h:t-s-80"></div>

Ease-in

<div class="w-16 h-16 bg-indigo tp-a tdu-500 ttf-i h:t-s-80"></div>

Ease-out

<div class="w-16 h-16 bg-indigo tp-a tdu-500 ttf-o h:t-s-80"></div>

Ease-in-out

<div class="w-16 h-16 bg-indigo tp-a tdu-500 ttf-io h:t-s-80"></div>

Responsiveness

Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.

Target viewport sizes with breakpoint prefixes.

sm:ttf-*
Small640px
md:ttf-*
Medium768px
lg:ttf-*
Large1024px
xxl:ttf-*
Extra Large1536px

Hover State

Apply styles conditionally on hover using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:ttf-*