css.properties

animation-fill-mode

The animation-fill-mode property specifies how an element is styled before and after an animation runs.

Formal Syntax

<single-animation-fill-mode>#

See specification

JavaScript Access

// Access via element.style
element.style.animationFillMode = 'none';

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
animation-fill-mode4316912
backwards35512
both35512
forwards35512
none35512

Related Properties