Figure 5.6. A graph of cubic-bezier(0.42, 0, 1, 1)Inmostcases,it’seasiertouseatimingfunctionkeyword.Wementionedstep-
startandstep-endintheprevioussection,buttherearefivemorekeywords,each
ofwhichisanaliasforcubic-beziervalues.They’relistedinTable5.3.Table 5.3. Timing function keywords and their function equivalents
Keyword Equivalent function Effect
Begins slowly, accelerates quickly, then slows
towards the end of the transitioncubic-bezier(0.25, 0.1,
0.25, 1)easeBegins quickly, then accelerates slowly but
steadily until the end of the transitioncubic-bezier(0.42, 0, 1,
1)ease-inAccelerates quickly but slows towards the end
of the transitioncubic-bezier(0, 0, 0.58,
1)ease-outBegins slowly, accelerates quickly, then
decelerates towards the end of the transitioncubic-bezier(0.42, 0,
0.58, 1)ease-in-outSpeed remains consistent over the course of
the animationlinear cubic-bezier(0, 0, 1, 1)202 CSS Master