Loading...
.ball {
animation: drop 1s cubic-bezier(0.3, 1.6, 0.5, 1);
}.ball {
animation: drop 1s ease-out;
animation-timing-function: linear(0, 1 40%, 0.8 55%, 1 70%, 0.95 85%, 1);
}linear() lists progress points, so the ball can bounce several times, which cubic-bezier() can't do.
linear() with the 'linear' keyword, which has no stops.linear() with enough points instead of a JavaScript animation library.linear() one.prefers-reduced-motion: reduce.List output values from 0 to 1, each with an optional input percentage, like linear(0, 1 40%, 1). Points without a percentage are spread evenly.
Yes. It works anywhere an easing function is accepted, including transition-timing-function and animation-timing-function.