# CSS linear: cubic-bezier and linear() easing

> linear as CSS: cubic-bezier(0, 0, 1, 1), the exact 2-point linear() string, and a live demo to copy. It is 50% done at 50% of the time.

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

linear reaches 50% of its travel at 50% of the time and 90% at 90%. Its peak speed is 1x the average.

Constant speed from start to end.

| Measure | Value |
| --- | --- |
| Role | Move |
| Reaches 50% of its travel at | 50% |
| Reaches 90% of its travel at | 90% |
| Peak speed | 1x the average |

## CSS cubic-bezier

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

## Web Animations

```js
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'cubic-bezier(0, 0, 1, 1)', fill: 'both' });
```

## In a vawe page

```js
animation: slide 600ms linear;
```

## Use for

- Rotation spins, progress bars and loops, where a steady speed is the point.
- Opacity cross-fades between two shots.

## Avoid for

- Moving a thing across the screen: it starts and stops with no ease, so it reads as mechanical.
- Any entrance or exit over 0.3 s. Use an EASE name from vawe.

## Related

- [glide](https://vawe.dev/easing/glide)
- [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)
- [settle](https://vawe.dev/easing/settle)
- [easeInOutBounce](https://vawe.dev/easing/ease-in-out-bounce)
- [All easing functions](https://vawe.dev/easing)
