ease
The browser's built-in curves. Mild, safe and everywhere, which is also why interfaces that use only these tend to feel generic. An ease-in-out speeds up and slows down symmetrically. Use it for objects that move from one resting place to another while staying on screen.
Code
This curve is a true cubic bezier, so every platform can use it exactly.
/* A CSS keyword: same curve as cubic-bezier(0.25, 0.1, 0.25, 1) */
transition: transform 600ms ease;Exact CSS
linear() draws any curve with straight segments. This one uses 22 points chosen so the motion never strays more than 0.25 % from the real ease; every current browser supports it.
linear(0, 0.014 2.7%, 0.036 5.3%, 0.064 7.8%, 0.103 10.5%, 0.143 12.8%, 0.189 15.2%, 0.452 27%, 0.52 30.3%, 0.579 33.5%, 0.643 37.3%, 0.701 41.3%, 0.754 45.5%, 0.801 49.8%, 0.848 55%, 0.889 60.5%, 0.923 66.3%, 0.951 72.3%, 0.972 78.7%, 0.988 85.5%, 0.997 92.5%, 1)
Questions
What is ease as a cubic-bezier?
cubic-bezier(0.25, 0.1, 0.25, 1). It is exactly this curve.
When should I use ease?
Hover states, small UI transitions and anything that should feel native rather than designed. An ease-in-out speeds up and slows down symmetrically. Use it for objects that move from one resting place to another while staying on screen.
Other CSS keywords
Compare with
Animate with ease in Kineform
Pick it from any key, text animator or camera move, or bend it in the graph editor — on a real-time engine with 3D, light, type and video.