blob: 35df3692b434977f95eb6075477f3c3b056f6d02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
---
title: CSS Animations
slug: Web/CSS/CSS_Animations
tags:
- CSS
- CSS Animations
- Experimental
- Overview
- Reference
translation_of: Web/CSS/CSS_Animations
---
<p>{{CSSRef}}{{SeeCompatTable}}</p>
<p><strong>CSS Animations</strong> is a module of CSS that defines how to animate the values of CSS properties over time, using keyframes. The behavior of these keyframe animations can be controlled by specifying their duration, their number of repetitions, and how they repeat.</p>
<h2 id="Reference">Reference</h2>
<h3 id="CSS_Properties">CSS Properties</h3>
<div class="index">
<ul>
<li>{{cssxref("animation")}}</li>
<li>{{cssxref("animation")}}</li>
<li>{{cssxref("animation-delay")}}</li>
<li>{{cssxref("animation-direction")}}</li>
<li>{{cssxref("animation-duration")}}</li>
<li>{{cssxref("animation-fill-mode")}}</li>
<li>{{cssxref("animation-iteration-count")}}</li>
<li>{{cssxref("animation-name")}}</li>
<li>{{cssxref("animation-play-state")}}</li>
<li>{{cssxref("animation-timing-function")}}</li>
</ul>
</div>
<h3 id="CSS_At-rules">CSS At-rules</h3>
<div class="index">
<ul>
<li>{{cssxref("@keyframes")}}</li>
</ul>
</div>
<h2 id="Guides">Guides</h2>
<dl>
<dt><a href="/en-US/docs/Web/CSS/CSS_Animations/Detecting_CSS_animation_support">Detecting CSS animation support</a></dt>
<dd>Describes a technique for detecting if the browser supports CSS animations.</dd>
<dt><a href="/en-US/docs/Web/CSS/CSS_Animations/Using_CSS_animations">Using CSS animations</a></dt>
<dd>Step-by-step tutorial about how to create animations using CSS, this article describes each relevant CSS property and at-rule and explains how they interact.</dd>
</dl>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ SpecName('CSS3 Animations') }}</td>
<td>{{ Spec2('CSS3 Animations') }}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>
<h2 id="Browser_compatibility">Browser compatibility</h2>
{{Compat("css.properties.animation")}}
<h2 id="See_also">See also</h2>
<ul>
<li>Related to CSS Animations, <a href="/en-US/docs/Web/CSS/CSS_Transitions">CSS Transitions</a> can trigger animations on user actions.</li>
</ul>
|