Out of function. Transition-timing-function графики. ease out. ease in ease out. кривая безье css.