mozilla

Revision 22120 of animation-name

  • Revision slug: CSS/animation-name
  • Revision title: animation-name
  • Revision id: 22120
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment new page; wip; page created, 132 words added

Revision Content

{{ CSSRef() }}

Summary

The animation-name CSS property specifies a list of animations that should be applied to the selected element. Each name indicates a {{ cssxref("@keyframe") }} at-rule that defines the property values for the animation sequence.

It is often convenient to use the shorthand property {{ cssxref("animation") }} to set all animation properties at once.

  • {{ Xref_cssinitial() }}: none
  • Applies to: block-level and inline-level elements
  • {{ Xref_cssinherited() }}: no
  • Media: {{ Xref_cssvisual() }}
  • {{ Xref_csscomputed() }}: as specified

Syntax

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

Values

<name> is an animation name string.

Examples

 

Notes

 

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{ CompatUnknown() }} {{ CompatGeckoDesktop("5.0") }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}

Specifications

Revision Source

<p>{{ CSSRef() }}</p>
<h3>Summary</h3>
<p>The <span id="1303220457973S" style="display: none;"> </span><code>animation-name<span id="1303220457641E" style="display: none;"> </span> </code>CSS property specifies a list of animations that should be applied to the selected element. Each name indicates a {{ cssxref("@keyframe") }} at-rule that defines the property values for the animation sequence.</p>
<p>It is often convenient to use the shorthand property {{ cssxref("animation") }} to set all animation properties at once.</p>
<ul> <li>{{ Xref_cssinitial() }}: none</li> <li>Applies to: block-level and inline-level elements</li> <li>{{ Xref_cssinherited() }}: no</li> <li>Media: {{ Xref_cssvisual() }}</li> <li>{{ Xref_csscomputed() }}: as specified</li>
</ul>
<h3>Syntax</h3>
<pre class="eval">animation-name: none | &lt;name&gt; [, none | &lt;name&gt;]*
</pre>
<h3>Values</h3>
<p><strong>&lt;name&gt;</strong> is an animation name string.</p>
<h3>Examples</h3>
<p> </p>
<h3>Notes</h3>
<p> </p>
<h3 name="Browser_Compatibility">Browser compatibility</h3>
<p>{{ CompatibilityTable() }}</p>
<div id="compat-desktop">
<table class="compat-table"> <tbody> <tr> <th>Feature</th> <th>Chrome</th> <th>Firefox (Gecko)</th> <th>Internet Explorer</th> <th>Opera</th> <th>Safari (WebKit)</th> </tr> <tr> <td>Basic support</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatGeckoDesktop("5.0") }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> </tr> </tbody>
</table>
</div>
<div id="compat-mobile">
<table class="compat-table"> <tbody> <tr> <th>Feature</th> <th>Android</th> <th>Firefox Mobile (Gecko)</th> <th>IE Phone</th> <th>Opera Mobile</th> <th>Safari Mobile</th> </tr> <tr> <td>Basic support</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> </tr> </tbody>
</table>
</div>
<h3>Specifications</h3>
<ul> <li><a class="external" href="http://www.w3.org/TR/css3-animations" title="http://www.w3.org/TR/css3-animations">CSS Animations Module Level 3</a></li>
</ul>
Revert to this revision