난 당신이 스크롤 할 때 요소를 회전 애니메이션을하고있어 그냥 웹킷에서 작동시킬 수 있지만 수없는 다른 브라우저에서 :애니메이션을 사용하여 크로스 브라우저 아니다 "변환 : 회전",
jQuery를
var $cog = $('#cog'),
$body = $(document.body),
bodyHeight = $body.height();
$(window).scroll(function() {
$cog.css({
// this work
'transform': 'rotate(' + ($body.scrollTop()/bodyHeight * 360) + 'deg)',
// this not work
'-moz-transform': 'rotate(' + ($body.scrollTop()/bodyHeight * 360) + 'deg)',
'-ms-transform': 'rotate(' + ($body.scrollTop()/bodyHeight * 360) + 'deg)',
'-o-transform': 'rotate(' + ($body.scrollTop()/bodyHeight * 360) + 'deg)'
});
});
회전이 조금 까다 롭습니다 : 다음은 크로스 브라우저 솔루션입니다 .com/p/jqueryrotate /). – Brewal