0
我的CSS动画有问题。动画在IE10(以及Chrome,Mozilla,Safari)中效果很好,但在IE9(以及IE边缘)中不起作用。CSS动画在IE中不起作用
这是我的CSS:
.tossing07{
-webkit-animation-name: tossing07;
animation-name: tossing07;
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
@-webkit-keyframes tossing07 {
0% {
-webkit-transform: rotate(-25deg);
}
50% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(-25deg);
}
}
@keyframes tossing07 {
0% {
transform: rotate(-25deg);
}
50% {
transform: rotate(0deg);
}
100% {
transform: rotate(-25deg);
}
}
尝试用'-ms -'前缀加 –
@AndyHolmes谢谢,但它仍然是同样的问题。 – user1414682