CSS : consistent easing function