You are here : cssCSS 3animation-fill-mode

animation-fill-mode - CSS 3

The animation-fill-mode property specifies a style for the element when the animation is 
	not playing (when it is finished, or when it has a delay).By default, CSS animations do not affect the element until the first keyframe is "played", and then stops once the last keyframe has completed. The animation-fill-mode property can override this 
behavior.


Syntax

animation-fill-mode: none|forwards|backwards|both|initial|inherit;


Example

div {    -webkit-animation-fill-mode: forwards; /* Chrome, Safari, Opera */   
  
    animation-fill-mode: forwards;}


Output / Return Value


Limitations


Alternatives / See Also


Reference