Table of contents
- 1. Summary
- 2. Syntax
- 2.1. Values
- 3. Examples
- 4. Browser compatibility
- 5. Specifications
- 6. See also
« CSS « CSS Reference
DRAFT
This page is not complete.
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.
- Initial value : none
- Applies to: block-level and inline-level elements
- Inherited : no
- Media:
visual - Computed value : as specified
Syntax
animation-name: none | <name> [, none | <name>]*
Values
<name>- A string identifying the animation.
Examples
See CSS animations for examples.
Browser compatibility
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|
| Basic support | (Supported) -webkit | 5.0 (5.0) -moz | 10 -ms [1] | ? | 4.0 -webkit |
| Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |

