# After Effects easing in CSS: leave (speed and influence)

> leave: the After Effects handles (influence and speed), the CSS linear() string, and a live demo. It is 50% done at 40% of the time.

Canonical: https://vawe.dev/easing/leave
Last updated: 2026-11-04

leave reaches 50% of its travel at 40% of the time and 90% at 70%. Its peak speed is 1.95x the average.

A decelerating exit: it eases away and slows into its end. The house exit is launch.

| Measure | Value |
| --- | --- |
| Role | Exit |
| Reaches 50% of its travel at | 40% |
| Reaches 90% of its travel at | 70% |
| Peak speed | 1.95x the average |

## CSS cubic-bezier

```css
cubic-bezier(0.3333, 0, 0.4, 1)
```

## Web Animations

```js
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'linear(0, 0.0019, 0.0078, 0.018, 0.0327, 0.052, 0.076, 0.1047, 0.138, 0.1755, 0.2167, 0.2609, 0.3075, 0.3555, 0.4041, 0.4525, 0.5, 0.5461, 0.5902, 0.6322, 0.6718, 0.7088, 0.7432, 0.7751, 0.8044, 0.8312, 0.8557, 0.8779, 0.8978, 0.9157, 0.9316, 0.9456, 0.9577, 0.9682, 0.977, 0.9843, 0.9901, 0.9945, 0.9976, 0.9994, 1)', fill: 'both' });
```

## In a vawe page

```js
import { EASE } from '../../core/motion/presets.js';

// 0.3 s: 0.6 of a 0.5 s entrance. fill forwards, never both: a backwards fill would cover the entrance.
el.animate(
  [{ translate: '0 0', opacity: 1 }, { translate: '0 -0.3em', opacity: 0 }],
  { duration: 300, easing: EASE.leave, fill: 'forwards' },
);

// the helper does the same from the entrance's length: leave(el, { ease: 'leave' })
// per-frame code (window.seek, vawe.onFrame): easeFn('leave')(u)
```

## After Effects handles

| Side | Influence | Speed |
| --- | --- | --- |
| Leaving a key | 33.33% | 0 |
| Arriving at a key | 60% | 0 |

## Use for

- An exit that is a settle or a hand-off into the next shot, when the page says so.
- Outside reference: 57 of 57 Lottie exits end at 1.5x the average or slower.

## Avoid for

- A plain exit. Exits run 0.35 to 0.6 of the entrance and accelerate: use launch.
- Entrances. It is built to finish, not to start.

## Related

- [ease-out](https://vawe.dev/easing/ease-out)
- [easeOutSine](https://vawe.dev/easing/ease-out-sine)
- [easeInOutSine](https://vawe.dev/easing/ease-in-out-sine)
- [ease-in-out](https://vawe.dev/easing/ease-in-out)
- [easeInOutQuad](https://vawe.dev/easing/ease-in-out-quad)
- [glide](https://vawe.dev/easing/glide)
- [All easing functions](https://vawe.dev/easing)
