I'm having problems with the following animation:
.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);
}
}
You can see the fiddle here: http://jsfiddle.net/QTeXG/5/
Well, the same animation is working ok for Chrome 21: http://jsfiddle.net/P2dKE/
If I:
- remove the opacity from the animation in Firefox it starts to work ok.
- remove the background image and use a background color it also starts to work ok.
Tested under Ubuntu 12.04, Firefox 14.0.1 and Chrome 21.0.1180.57.
Any ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…