ease-in
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 starts slowly and leaves at full speed. Use it for things exiting the frame or starting a move they will not finish on screen; on an entrance it feels late and sluggish.
Code
This curve is a true cubic bezier, so every platform can use it exactly.
/* A CSS keyword: same curve as cubic-bezier(0.42, 0, 1, 1) */
transition: transform 600ms ease-in;Exact CSS
linear() draws any curve with straight segments. This one uses 17 points chosen so the motion never strays more than 0.25 % from the real ease-in; every current browser supports it.
linear(0, 0.004 4.8%, 0.016 9.8%, 0.037 15%, 0.065 20.5%, 0.101 26.2%, 0.147 32.2%, 0.2 38.3%, 0.26 44.7%, 0.33 51.3%, 0.407 58.2%, 0.493 65.2%, 0.584 72.2%, 0.685 79.5%, 0.789 86.7%, 0.899 93.8%, 1)
Questions
What is ease-in as a cubic-bezier?
cubic-bezier(0.42, 0, 1, 1). It is exactly this curve.
When should I use ease-in?
Hover states, small UI transitions and anything that should feel native rather than designed. An ease-in starts slowly and leaves at full speed. Use it for things exiting the frame or starting a move they will not finish on screen; on an entrance it feels late and sluggish.
Other CSS keywords
Compare with
Animate with ease-in 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.