JSFiddle - React, Tailwind, and code Playground

by Drath

HTML

<script src="https://raw.github.com/zachstronaut/jquery-css-transform/master/jquery-css-transform.js"></script>
<script src="https://raw.github.com/zachstronaut/jquery-animate-css-rotate-scale/master/jquery-animate-css-rotate-scale.js"></script>
<div id="test"></div>

CSS

body {
 padding:25px;   
}

#test {
width:200px;
height:200px;
border-radius:100px;
background: url('http://www.kokaro.com/images/kokaro_header_new.png');
}

JavaScript

$(document).ready(function() {
    setInterval(
        function () {
            $('#test').animate({rotate: '+=2deg'}, 0);
        },
        15
    );
});