5 ms·
Why not? (function () { var d=1; setInterval(function () { $('#Earth-Illustration').css({'webkit-transform': 'rotate(' + ((d>36) ? d=2
by devgutt 13y ago
Why not?
(function () {
var d=1;
setInterval(function () {
$('#Earth-Illustration').css({'webkit-transform':
'rotate(' + ((d>36) ? d=2 : d++)*10 + 'deg)'})},100);
}());
Please, consider Africa as Asia ;)
- eevee 13y agoPerhaps you meant `transform`, which will actually work in WebKit browsers (you forgot the leading `-`) and also be translated by jQuery to other browsers' prefixed property names.
- devgutt 13y agotested in Chrome only...and only "transform" didn't work, I had to add "webkit-" to work...to make simple, I prefered not put the moz line