JSFiddle - React, Tailwind, and code Playground
by Ajay Patel
HTML
<script type="text/javascript" src="http://jqueryrotate.googlecode.com/svn/trunk/jQueryRotate.js"></script>
<img src="http://anuladecreations.co.uk/wp-content/uploads/2013/05/sample.png" id="image">
CSS
#image{
margin:100px 100px;
}
JavaScript
var angle = 0;
setInterval(function(){
angle+=3;
$("#image").rotate(angle);
},50);