The animation-fill-mode CSS property specifies how a CSS animation should apply styles to its target before and after it is executing.
The animation-play-state CSS property determines whether an animation is running or paused. This can be queried to determine whether or not the animation is currently running. In addition, its value can be set to pause and resume playback of an animation.