animation-fill-mode

The animation-fill-mode property determines which styles should be applied to an element when the animation is not playing. For example, after its completion or at a stop. By default, when the animation ends, the style of the element returns to its original style, the animation-fill-mode property allows you to change this behavior and make the element style remain the same as the last keyframe.

Syntax



animation-fill-mode: single-animation-fill-mode;