我知道css动画有-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