CSS 动画 is a module of CSS that lets you animate the values of CSS properties over time, using keyframes. The behavior of these keyframe animations can be controlled by specifying their timing function, duration, their number of repetitions, and other attributes.
animation
animation-delay
animation-direction
animation-duration
animation-fill-mode
animation-iteration-count
animation-name
animation-play-state
animation-timing-function
Describes a technique for detecting if a browser supports 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 with each other.
Tips and tricks to help you get the most out of CSS animations. Currently offers a technique for replaying an animation which has already run through to completion, which the API doesn't support inherently.
| 规范 | 状态 | 注释 |
|---|---|---|
| CSS 动画 | 工作草案 | 初始定义。 |
animation
property
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
animation
|
Chrome 完整支持 43 | Edge 完整支持 12 |
Firefox
完整支持
16
|
IE 完整支持 10 |
Opera
完整支持
30
|
Safari 完整支持 9 |
WebView Android
完整支持
43
|
Chrome Android 完整支持 43 |
Firefox Android
完整支持
16
|
Opera Android
完整支持
30
|
Safari iOS 完整支持 9 | Samsung Internet Android 完整支持 4.0 |
完整支持
见实现注意事项。
用户必须明确启用此特征。
要求使用供应商前缀或不同名称。