lundi 16 février 2015

IE rotation off axis


$(window).scroll(function(){
var rotation = 'rotate('+$(document).scrollTop()+'deg)';
things.css({
'-webkit-transform' : rotation,
'-moz-transform' : rotation,
'-ms-transform' : rotation,
'-o-transform' : rotation,
'transform' : rotation
});
});


This code rotates the elements on a page well when I call it, except in IE where the elements rotate off-axis.





Aucun commentaire:

Enregistrer un commentaire