Skip to main content

Tailwind Transition Generator

Configure transition properties, duration, timing, and delay.
Hover the preview box to see the transition in action.

Hover the box below to preview the transition

Hover Me

Not hovered

Common CSS properties

Slow start and end

transition duration-300 ease-in-out
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-duration: 300ms;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);

Understanding Tailwind Transitions

transition-all

Transitions every CSS property that can be animated. Use with caution as it may affect performance.

transition

The default transition class. Covers common properties like colors, opacity, shadows, and transforms.

transition-colors

Only transitions color-related properties. Perfect for hover states on buttons and links.

transition-transform

Only transitions transform property. Ideal for scale, rotate, and translate effects on hover.

Timing Functions

ease-linear

Constant speed from start to end. No acceleration or deceleration.

ease-in

Starts slow and speeds up. Good for elements leaving the screen.

ease-out

Starts fast and slows down. Ideal for elements entering the screen.

ease-in-out

Slow start and slow end. The most natural-feeling transition for most UI interactions.