CSS animation-name 속성
예시
@keyframes 애니메이션의 이름을 지정합니다.
div {
animation-name: mymove;
}
정의 및 사용
animation-name
속성은 @keyframes 애니메이션의 이름을
지정 합니다 .
기본값: | 없음 |
---|---|
상속: | 아니요 |
애니메이션 가능: | 아니요. 애니메이션 가능 에 대해 읽기 |
버전: | CSS3 |
자바스크립트 구문: | 개체 .style.animationName="myNEWmove" |
브라우저 지원
표의 숫자는 속성을 완전히 지원하는 첫 번째 브라우저 버전을 지정합니다.
-webkit-, -moz- 또는 -o- 뒤에 오는 숫자는 접두사와 함께 작동한 첫 번째 버전을 지정합니다.
Property | |||||
---|---|---|---|---|---|
animation-name | 43.0 4.0 -webkit- |
10.0 | 16.0 5.0 -moz- |
9.0 4.0 -webkit- |
30.0 15.0 -webkit- 12.0 -o- |
CSS 구문
animation-name: keyframename|none|initial|inherit;
속성 값
Value | Description | |
---|---|---|
keyframename | Specifies the name of the keyframe you want to bind to the selector | |
none | Default value. Specifies that there will be no animation (can be used to override animations coming from the cascade) | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
관련 페이지
CSS 튜토리얼: CSS 애니메이션
HTML DOM 참조: animationName 속성