New! My 44-page ebook "CSS in 44 minutes" is out! 😃
Defines what happens before an animation starts and after it ends. The fill mode allows to tell the browser if the animation’s styles should also be applied outside of the animation.
The animation styles do not affect the default style: the element is set to its default state before the animation starts, and returns to that default state after the animation ends.
The last styles applied at the end of the animation are retained afterwards.
The animation's styles will already be applied before the animation actually starts.
The styles are applied before and after the animation plays.
Share this CSS property
Share on Twitter
Share on Facebook