JSFiddle - React, Tailwind, and code Playground
HTML
<br/><br/><br/><br/>
<p>paragraph</p>
<p>paragraph</p>
<p>paragraph</p>
CSS
p {width:2em;}
JavaScript
$(function() {
var $elie = $("p");
rotate(0);
function rotate(degree) {
$elie.css({ WebkitTransform: 'rotate(' + degree + 'deg)'});
$elie.css({ '-moz-transform': 'rotate(' + degree + 'deg)'});
timer = setTimeout(function() {
rotate(++degree);
},5);
}
});