我的动画@keyframes
在 IE 中不起作用。在网上各种消息来源说它在 IE9 中受支持,有些人说它不受支持。有人确定我应该停止朝那个方向工作吗……如果不是,@-ms-keyframes
我认为它是 IE 的前缀是什么……谢谢!
@-webkit-keyframes move {
0% {left: 0px;}
49% {left: 940px; opacity: 1;}
50% {left: 940px; opacity: 0;}
51% {left: -940px; opacity: 0;}
52% {left: -940px; opacity: 1;}
100% {left: 0px;}
}
@-webkit-keyframes backup {
0% {left: -940px;}
100% {left: 940px;}
}
@-moz-keyframes move {
0% {left: 0px;}
49% {left: 940px; opacity: 1;}
50% {left: 940px; opacity: 0;}
51% {left: -940px; opacity: 0;}
52% {left: -940px; opacity: 1;}
100% {left: 0px;}
}
@-moz-keyframes backup {
0% {left: -940px;}
100% {left: 940px;}
}
@-ms-keyframes move {
0% {left: 0px;}
49% {left: 940px; opacity: 1;}
50% {left: 940px; opacity: 0;}
51% {left: -940px; opacity: 0;}
52% {left: -940px; opacity: 1;}
100% {left: 0px;}
}
@-ms-keyframes backup {
0% {left: -940px;}
100% {left: 940px;}
}