Refine pseudo element animation.