easeInExpo
Exponential: almost all of the change happens in a short burst, then a very long settle. The most dramatic of the classic curves. 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
The cubic-bezier is a close fit (up to 1.2 % off). The CSS linear() value and the JavaScript function are exact.
/* Exact curve (all modern browsers): */
transition: transform 600ms linear(0, 0.008 31.2%, 0.017 40.8%, 0.029 48.8%, 0.047 55.8%, 0.072 62%, 0.104 67.3%, 0.144 72%, 0.198 76.7%, 0.265 80.8%, 0.304 82.8%, 0.345 84.7%, 0.392 86.5%, 0.44 88.2%, 0.494 89.8%, 0.555 91.5%, 0.616 93%, 0.683 94.5%, 0.758 96%, 0.831 97.3%, 0.912 98.7%, 1);
/* Cubic-bezier approximation: */
transition: transform 600ms cubic-bezier(0.7, 0, 0.84, 0);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 easeInExpo; every current browser supports it.
linear(0, 0.008 31.2%, 0.017 40.8%, 0.029 48.8%, 0.047 55.8%, 0.072 62%, 0.104 67.3%, 0.144 72%, 0.198 76.7%, 0.265 80.8%, 0.304 82.8%, 0.345 84.7%, 0.392 86.5%, 0.44 88.2%, 0.494 89.8%, 0.555 91.5%, 0.616 93%, 0.683 94.5%, 0.758 96%, 0.831 97.3%, 0.912 98.7%, 1)
Questions
What is easeInExpo as a cubic-bezier?
The usual fit is cubic-bezier(0.7, 0, 0.84, 0). It strays from the true easeInExpo by up to 1.2 % of the distance travelled; for the exact curve use the CSS linear() value on this page, which stays within 0.25 %.
When should I use easeInExpo?
Title reveals, camera whips and fast entrances that should snap in and then hang still. The signature of Apple-style product films. 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.
The rest of the expo family
Compare with
Animate with easeInExpo 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.