Please note, this is a STATIC archive of website developer.mozilla.org from November 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.

요약(Summary)

CSS의 animation 속성은 animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction 값들을 지정가능한 축약된 속성(shorthand property)이다. 

애니메이션이 가능한 CSS 속성 리스트가 으로 사용가능한데; 그 속성들이 CSS transitions도 지원하는 동일한 속성들이라는 것에 주목할 필요가 있다.

초기값as each of the properties of the shorthand:
적용대상all elements, ::before and ::after pseudo-elements
상속no
Mediavisual
Computed valueas each of the properties of the shorthand:
Animatableno
Canonical orderorder of appearance in the formal grammar of the values

문법(Syntax)

Formal syntax: <single-animation-name> || <time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state>

where
<single-animation-name> = none | IDENT
<single-animation-iteration-count> = infinite | <number>
<single-animation-direction> = normal | reverse | alternate | alternate-reverse
<single-animation-fill-mode> = none | forwards | backwards | both
<single-animation-play-state> = running | paused

예제(Examples)

CSS animations 예제

명세(Specifications)

Specification Status Comment
CSS Animations
The definition of 'animation' in that specification.
Working Draft  

브라우저 호환성(Browser compatibility)

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes)-webkit 5.0 (5.0)-moz
16.0 (16.0)
10 12-o
12.10 #
4.0-webkit
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? 5.0 (5.0)-moz
16.0 (16.0)
? ? iOS 2.0-webkit

참고자료(See also)

문서 태그 및 공헌자

 이 페이지의 공헌자: teoli, mirinae312
 최종 변경: teoli,