我知道 css animation 的简写是 -webkit-animation:
div {
-webkit-animation-name: example;
-webkit-animation-duration: 1s;
-webkit-animation-timing-function: ease;
-webkit-animation-delay: 0s;
-webkit-animation-iteration-count: 2;
-webkit-animation-direction: alternate;
}
我们可以使用动画代码的简写:
div {-webkit-animation: example 1s ease 0 2 alternate;}
但在我的实验中,-moz-animation 似乎不起作用。是真的吗?
div {-moz-animation: example 1s ease 0 2 alternate;} //did not work in my experiment
最佳答案
有一个 -moz-animation 扩展。
这里是 Mozilla 浏览器扩展的完整列表:
https://developer.mozilla.org/en/CSS_Reference/Mozilla_Extensions
关于css - css动画可以得到-moz-animation的简写吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9964260/