I'm currently experimenting with a slider to apply the "transform: scale(x,x)" css3 animation specifically in Firefox. Interestingly, when I disable the animation, the slider and scaling functions properly. However, once I enable the animation, it animates but the scaling aspect doesn't seem to work.
Take a look at this jsfiddle... If you remove the comments at the end of the CSS section, you can observe the issue. I aim for both the arrows to spin AND scale simultaneously.
(Exclusive to FIREFOX, for Chrome/Safari check the following link): http://jsfiddle.net/G6rYu/
$("#slider-step").on("change", function(e){
scale= $("#slider-step").val() / 100;
$(".elem.A").css("transform", "scale("+scale+","+scale+")");
$(".elem.B").css("transform", "scale("+(1-scale)+","+(1-scale)+")");
});
and...
.elem.A {
background-image:url('http://s24.postimg.org/ua9mzwmht/arrow.png');
animation-name: rotate;
animation-duration: 3.0s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes rotate {
from {transform: rotate(0deg);}
to {transform: rotate(-360deg);}
}
Here's the intended effect (functional in Chrome/Safari only): http://jsfiddle.net/nick2ny/4mLkU/