Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

animation

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

Resumen

La propiedad animation de CSS es una propiedad abreviada (shorthand property) para animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count y animation-direction.

La lista de propiedades CSS que pueden ser animadas está disponible; cabe señalar que estas son las mismas propiedades soportadas por CSS transitions.

Valor inicialas each of the properties of the shorthand:
Applies totodos los elementos y los pseudoelementos ::before y ::after
Heredableno
Mediavisual
Valor calculadoas each of the properties of the shorthand:
Animatableno
Canonical orderorder of appearance in the formal grammar of the values

Sintaxis

Formal grammar:  [ <'animation-name'> || <'animation-duration'> || <'animation-timing-function'> || <'animation-delay'> ||
                   <'animation-iteration-count'> || <'animation-direction'> || <'animation-fill-mode'> ] 
                 [, [<'animation-name'> || <'animation-duration'> || <'animation-timing-function'> || <'animation-delay'> ||
                     <'animation-iteration-count'> || <'animation-direction'> || <'animation-fill-mode'>] ]*  

Ejemplos

Consulte CSS animations para ver los ejemplos.

Especificaciones

Especificación Estado Comentario
CSS Animations
The definition of 'animation' in that specification.
Working Draft  

Compatibilidad con navegadores

Característica Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Soporte básico (Yes)-webkit 5.0 (5.0)-moz
16.0 (16.0)
10 12-o
12.5 #
4.0-webkit
Característica Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Soporte básico ? 5.0 (5.0)-moz
16.0 (16.0)
? ? iOS 2.0-webkit

Consulte también

Etiquetas y colaboradores del documento

 Colaboradores en esta página: teoli, Luis_Calvo, jesanchez, ccarruitero
 Última actualización por: teoli,