animation-name

Specifies the name of one or more @keyframes at-rules that should be applied to the selected element.

Quick example

.element {
  animation-name: slide-box;
  animation-duration: 2s;
}

Quick facts

Initial value
none
Inherited
No
Applies to
all elements and pseudo-elements
Animation type
notAnimatable

Values

none

animation-name Browser Support

Widely available Since 2015 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

Safe to use without fallbacks.

43+
16+
9+
12+
ESC