Easing is the curve that maps time to progress, so an animation can start slowly, end slowly or both instead of moving at one constant speed.
Ease-out (fast start, slow finish) is the default for things entering or responding to the user, because the reaction is instant. Ease-in suits things leaving. Ease-in-out suits things moving from one place on screen to another.
In CSS you set easing with a keyword, cubic-bezier() or linear(). linear() can describe any curve, including a spring, as a list of points.
/* CSS */
.panel { transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1); }Try it: Spring animation generator