Skip to main content

ease-*

Choose the tween timing curve.

Quick reference​

SyntaxBehavior
ease-linearLinear.
ease-inCubic Bézier (0.4, 0, 1, 1).
ease-outCubic Bézier (0, 0, 0.2, 1).
ease-in-outDefault: cubic Bézier (0.4, 0, 0.2, 1).

Example​

<View class="w-12 h-12 bg-accent transition-opacity tween duration-300 ease-out" />

Rules and validation​

Easing requires an effective tween. Arbitrary CSS Bézier syntax is unsupported. Easing does not select a property or change the logical update time.

Fixed timing · All reference