Fixed keyframe issue in component.css