ease-*
Choose the tween timing curve.
Quick reference
| Syntax | Behavior |
|---|---|
ease-linear | Linear. |
ease-in | Cubic Bézier (0.4, 0, 1, 1). |
ease-out | Cubic Bézier (0, 0, 0.2, 1). |
ease-in-out | Default: 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.