Interactive online courses HTML Academy
2026-03-09 14:05 Diff

The linear, ease, ease-in, and other names are “aliases” of the cubic Bezier curve functions:

cubic-bezier(0, 0, 1, 1) // This is the linear function cubic-bezier(0.42, 0, 1, 1) // This is the ease function

When we look at the general notation of cubic-bezier(x1, y1, x2, y2), the x and y values are the coordinates of the points on a curve plotted on a graph. In this case, the value of x is only in the range of 0 to 1.

There is a great service that helps you understand the functional representation of Bezier curves without requiring you to study math textbooks.

And this link contains an entire collection of different easing functions that are based on Bezier curves.

We can use the cubic-bezier function to define any forms of transitions.