easeInQuad
Progress grows with the square of time. A soft, natural ease that reads as 'physical' without being dramatic. 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 0.2 % off). The CSS linear() value and the JavaScript function are exact.
/* Exact curve (all modern browsers): */
transition: transform 600ms linear(0, 0.004 6.2%, 0.016 12.5%, 0.035 18.7%, 0.063 25%, 0.097 31.2%, 0.141 37.5%, 0.191 43.7%, 0.25 50%, 0.315 56.2%, 0.391 62.5%, 0.472 68.7%, 0.563 75%, 0.659 81.2%, 0.766 87.5%, 0.877 93.7%, 1);
/* Cubic-bezier approximation: */
transition: transform 600ms cubic-bezier(0.11, 0, 0.5, 0);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 easeInQuad; every current browser supports it.
linear(0, 0.004 6.2%, 0.016 12.5%, 0.035 18.7%, 0.063 25%, 0.097 31.2%, 0.141 37.5%, 0.191 43.7%, 0.25 50%, 0.315 56.2%, 0.391 62.5%, 0.472 68.7%, 0.563 75%, 0.659 81.2%, 0.766 87.5%, 0.877 93.7%, 1)
Questions
What is easeInQuad as a cubic-bezier?
The usual fit is cubic-bezier(0.11, 0, 0.5, 0). It strays from the true easeInQuad by up to 0.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 easeInQuad?
Everyday UI motion: menus, tooltips, list items. A good default when cubic feels too strong. 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 quad family
Compare with
Animate with easeInQuad 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.