I\'m not sure how to use using jQuery, but has a CSS3 property: transform: rotate
it could be used along with jQuery?
transform:rotate; -ms-transform
Something like this, jQuery should use the correct css3 prefix. http://jsfiddle.net/g3k6h/2/
$(function() { $('.gear').click(function() { $(this).css('transform', 'rotate(30deg)'); }); });