我有一个简单的CSS动画,看起来像下面这样:CSS3动画不播放始终
@-webkit-keyframes 'move-domo' {
0% { bottom: 0px; left: 24px; }
5% { bottom: 5px; }
10% { bottom: 0px; }
15% { bottom: 5px; }
20% { bottom: 0px; }
25% { bottom: 5px; }
30% { bottom: 0px; }
35% { bottom: 5px; }
40% { bottom: 0px; }
45% { bottom: 5px; }
50% { bottom: 0px; left: 300px; }
55% { bottom: 5px; }
60% { bottom: 0px; }
65% { bottom: 5px; }
70% { bottom: 0px; }
75% { bottom: 5px; }
80% { bottom: 0px; }
85% { bottom: 5px; }
90% { bottom: 0px; }
95% { bottom: 5px; }
100% { bottom: 0px; left: 24px; }
}
在Chrome中,它的工作原理我希望它,但在Safari浏览器,它不打球的方式我期望的方式 - 首先播放所有“底部”动画,然后在最后冲过“左侧”动画。
删除html5标记为html5!= css3,它可能会混淆其他人。 – 2010-11-15 17:38:55
谢谢,好点。 – 2010-11-17 00:47:18