0
我遇到以下问题动画:CSS3动画Firefox下14
.anim {
-moz-animation-delay: 0s;
-moz-animation-iteration-count: infinite;
-moz-animation-duration: 6s;
-moz-animation-fill-mode: forwards;
-moz-animation-name: animation_1;
-moz-animation-play-state: running;
-moz-animation-timing-function: linear;
-moz-transform-origin: right top;
background-image:url("http://jsfiddle.net/css/../img/logo.png");
height:25px;
width: 160px;
z-index: 1;
position: absolute;
}
.container {
left: 100px;
top: 100px;
position: absolute;
}
@-moz-keyframes animation_1 {
0% {
opacity: 1;
left:29.45px;
top:0;
-moz-transform: rotate(0deg) scale(2,2);
}
100% {
top:0;
opacity: 0.5;
left:120px;
top:120px;
-moz-transform: rotate(90deg) scale(0.5,0.5);
}
}
你可以在这里看到小提琴:http://jsfiddle.net/QTeXG/5/
那么,同样的动画工作确定为Chrome 21:http://jsfiddle.net/P2dKE/
如果我: - 在Firefox的动画,它开始工作正常删除的不透明度。 - 删除背景图片并使用背景颜色,它也开始正常工作。
的Ubuntu 12.04,火狐14.0.1和Chrome 21.0.1180.57下进行测试。
任何想法?
你的jsfiddle对我的作品在Firefox 14.0.1在Windows Vista上。 – jfriend00 2012-08-06 01:32:11
是啊,如果我使用代码-webkit-和替换所有-webkit-与-moz-的Firefox,像在Chrome同样的效果正常工作。我在Windows上,也许是在Ubuntu – 2012-08-06 01:33:52
FF一些bug是的,这似乎是在Ubuntu和MacOS的一个bug,在Windows好的工作,感谢您的反馈! – 2012-08-06 13:03:34