iPhone 6 手机不兼容 Css3 动画?

2015-01-21 11:12:32 +08:00
 lvfujun
animation: spinDisc 3s linear infinite;
-webkit-animation: spinDisc 3s linear infinite;
-ms-animation: spinDisc 3s linear infinite;
-o-animation: spinDisc 3s linear infinite;
-moz-animation: spinDisc 3s linear infinite;
-khtml-animation: spinDisc 3s linear infinite;
@keyframes spinDisc {
100% {
transform: rotate(1turn);
}
}
@-webkit-keyframes spinDisc {
100% {
transform: rotate(1turn);
}
}
@-ms-keyframes spinDisc {
100% {
transform: rotate(1turn);
}
}
@-o-keyframes spinDisc {
100% {
transform: rotate(1turn);
}
}
@-moz-keyframes spinDisc {
100% {
transform: rotate(1turn);
}
}
@-khtml-keyframes spinDisc {
100% {
transform: rotate(1turn);
}
}



手机原带的Safari 和下载的谷歌浏览器都没法执行我写的Css3动画效果.其他安卓手机就可以请大牛分析一下.是不是要什么声明之类的?
5056 次点击
所在节点    问与答
1 条回复
nilennoct
2015-01-21 13:27:43 +08:00
Valid keyframe lists

In order for a keyframe list to be valid, it must include rules for at least the times 0% (or from) and 100% (or to) (that is, the starting and ending states of the animation). If both of these time offsets aren't specified, the keyframe declaration is invalid and can't be used for animation.

If you include properties that can't be animated in your keyframe rules, they get ignored, but the supported properties will still be animated.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/164067

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX