animation-duration
Baseline
Widely available
*
This feature is well established and works across many devices and browser versions. Itâs been available across browsers since 2015ë 9ì.
* Some parts of this feature may have varying levels of support.
Experimental: ì´ ê¸°ë¥ì ì¤íì ì¸ ê¸°ë¥ì
ëë¤.
íë¡ëì
íê²½ìì ì¬ì©í기 ì ì ë¸ë¼ì°ì í¸íì± í를 주ì ê¹ê² íì¸íì¸ì.
animation-duration CSS ìì±ì ì ëë©ì´ì
ì´ í ì¬ì´í´ì ìë£íë ë° ê±¸ë¦¬ë ìê°ì ì§ì í©ëë¤.
/* Single animation */
animation-duration: 6s;
animation-duration: 120ms;
/* Multiple animations */
animation-duration: 1.64s, 15.22s;
animation-duration: 10s, 35s, 230ms;
ì¶ì½ ìì± animation를 ì¬ì©íì¬ ëª¨ë ì ëë©ì´ì
ìì±ì í꺼ë²ì ì¤ì íë ê²ì´ í¸ë¦¬í©ëë¤.
| ì´ê¸°ê° | 0s |
|---|---|
| ì ì©ëì | all elements, ::before and ::after pseudo-elements |
| ìì | no |
| ê³ì° ê° | as specified |
| Animation type | Not animatable |
문ë²(Syntax)
>Values
<time>-
ì ëë©ì´ì ì´ í ì¬ì´í´ì ìë£íë ë° ê±¸ë¦¬ë ì§ì ìê°ì ëë¤. ì´ê²ì ì´(s) ëë ë°ë¦¬ ì´ (ms)ë¡ ì§ì ë ì ììµëë¤. ê°ì ìì ëë 0ì´ì´ì¼íë©° ë¨ìë íìì ëë¤. 기본ê°ì¸ 0ì ê°ì ì ëë©ì´ì ì´ ìëíì§ ììì¼ í¨ì ëíë ëë¤.
ì°¸ê³ : ìì ê°ì ì í¨íì§ ìì¼ë¯ë¡ ì ì¸ì´ 무ìë©ëë¤. ì ëì¬ê° ë¶ì 구íì ê·¸ê²ë¤ì 0ê³¼ ëì¼íê² ê°ì£¼ í ì ììµëë¤.
ì°¸ê³ :
animation- * ìì±ì ì¬ë¬ ê°ì ì¼íë¡ êµ¬ë¶ ë ê°ì ì§ì íë©´ animation-name ìì±ì ì§ì ë ì ëë©ì´ì
ì ì¼ë§ë ë§ì ê°ì´ ìëì§ì ë°ë¼ ë¤ë¥¸ ë°©ìì¼ë¡ ì§ì ë©ëë¤. ìì¸í ë´ì©ì Setting multiple animation property values를 참조íììì¤.
Formal syntax
animation-duration =
[ auto | <time [0s,â]> ]#
ìì (Examples)
CSS ì ëë©ì´ì ìì 를 참조íììì¤.
ëª ì¸
| Specification |
|---|
| CSS Animations Level 2 > # animation-duration > |
ë¸ë¼ì°ì í¸íì±(Browser compatibility)
ê°ì´ 보기(See also)
- Using CSS animations
- JavaScript
AnimationEventAPI