--- title: CSS Animations slug: Web/CSS/CSS_Animations tags: - CSS - CSS Animations - Experimental - Overview - Reference translation_of: Web/CSS/CSS_Animations ---

{{CSSRef}}{{SeeCompatTable}}

CSS Animations 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.

Reference

CSS Properties

CSS At-rules

Guides

Detecting CSS animation support
Describes a technique for detecting if the browser supports CSS animations.
Using CSS animations
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.

Specifications

Specification Status Comment
{{ SpecName('CSS3 Animations') }} {{ Spec2('CSS3 Animations') }} Initial definition.

Browser compatibility

{{CompatibilityTable}}
Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{CompatVersionUnknown}}{{property_prefix("-webkit")}}
43.0
{{CompatGeckoDesktop("5.0")}}{{property_prefix("-moz")}}
{{CompatGeckoDesktop("16.0")}}
10 12{{property_prefix("-o")}}
12.10[2]
4.0{{property_prefix("-webkit")}}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support 2.1 {{property_prefix("-webkit")}} [1]
4.0 {{property_prefix("-webkit")}}
{{CompatGeckoMobile("5.0")}}{{property_prefix("-moz")}}
{{CompatGeckoMobile("16.0")}}
{{CompatUnknown}} {{CompatUnknown}} {{CompatVersionUnknown}}{{property_prefix("-webkit")}}

[1] Partial support: {{cssxref("animation-fill-mode")}} property is not supported in Android browser below 2.3.

[2] See the release notes to Opera 12.50.

See also