# Keyframe animation

*noun*

say it: **“KEE-fraym an-ih-MAY-shun”** **/ˈkiːfreɪm ˌænɪˈmeɪʃən/**

An animation written as a set of steps with @keyframes, saying what an element looks like at the start, the end and points in between. It plays by itself, with no hover or click needed.

## What is a **keyframe animation**?

A **keyframe animation** describes steps of an animation with `@keyframes`, then plays it on an element with `animation`.

```css
@keyframes pulse {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}
.notification-dot { animation: pulse 1s infinite alternate; }
```

## In a sentence

- “A small **keyframe animation** makes the heart icon pulse twice when the page opens.”

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/keyframe-animation
