CSS animationname Property (original) (raw)

CSS animation-name Property

Last Updated : 23 Aug, 2024

The animation-name property in CSS is used for defining animations. It is used to specify the name of the _@keyframes that describe the animation.

Understanding the Animation-Name Property

The animation-name property in CSS is used to connect an element to a set of keyframes. The keyframes describe the animation’s sequence of changes.

**Syntax:

animation-name: keyframename|none|initial|inherit;

**Property Value: The animation-name property value is listed below:

**Example: In this example, we are using the above-explained property.

html `

CSS | animation-name Property