add easing to css