# Animation fill mode

*noun*

say it: **“an-ih-MAY-shun FIL MOHD”** **/ˌænɪˈmeɪʃən fɪl moʊd/**

The CSS property that decides whether an element shows the first step's look before an animation starts, or keeps the last step's look after it ends, such as forwards.

## What does `animation-fill-mode` do?

`animation-fill-mode` decides what an element looks like before an animation starts and after it ends. `forwards` keeps the last frame.

```css
.fade-in { animation: appear 0.5s forwards; }   /* stays visible when done */
```

## In a sentence

- “Setting **animation-fill-mode** to forwards kept the banner where the slide-in animation left it.”

Level: Journeyman · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/animation-fill-mode
