In css, we can use easing for transitions, eg:
transition: all .5s ease-in-out
There are built-in CSS easings, such as ease
, ease-in
, ease-out
, and ease-in-out
.
We can also define a custom easing using a cubic bezier, eg:
transition: all .5s cubic-bezier(.42, 0, 1, 1)
I've been given the values for a desired transition easing (which may very well be the same as the defaults, I don't know), but before I pollute my CSS with custom easing values, I wanted to compare them to the defaults. My research has come up empty, and thought it might be nice to have an authoritative answer here at stackoverflow.
What are the CSS default easing cubic-bezier curve values?