animation-name

« CSS « CSS Reference

This is an experimental feature
Because this feature is still in development in some browsers, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental feature is subject to change in future version of browsers as the spec changes.

Summary

The animation-name CSS property specifies a list of animations that should be applied to the selected element. Each name indicates a @keyframes at-rule that defines the property values for the animation sequence.

It is often convenient to use the shorthand property animation to set all animation properties at once.

Syntax

animation-name: none | <name> [, none | <name>]*

Values

<name>
A string identifying the animation.

Examples

See CSS animations for examples.

Specifications

Specification Status Comment
CSS Animations Level 3 Working Draft  

Browser compatibility

  • Desktop
  • Mobile

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) -webkit 5.0 (5.0) -moz 10 -ms [1] 12 -o 4.0 -webkit
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

Tags (6)

Edit tags

Attachments (0)

 

Attach file