CSS animation-fill-mode Property
The animation-fill-mode CSS property sets how a CSS animation applies styles to its target before and after its execution.
The numbers in the table specify the first browser version that fully supports the property.
The following table describes the values of this property:
|The animation will not apply any styles to the target before or after it is executing.
|After the animation ends the animation will apply the property values for the time the animation ended.
|The animation will apply the property values defined in the keyframe that will start the first iteration of the animation, during the period defined by animation-delay property.
|The animation will follow the rules for both forwards and backwards, thus extending the animation properties in both directions.
|Sets this property to its default value.
|If specified, the associated element takes the computed value of its parent element animation-delay property.
|Reverts the cascaded value of the property from its current value to the value the property
|Rollback styles to the ones specified in previous cascade layers.
|Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.
Default CSS Property Values