JSFiddle - React, Tailwind, and code Playground

by holden321

HTML

<div class="square"></div>

CSS

body {
    background:gray;
}
.square {
    width:60px;
    height:60px;
    background:#333;
    margin:30px;
    box-shadow:0 0 4px rgba(0, 0, 0, .4);
    -webkit-animation:anim 4s linear infinite;
}
@-webkit-keyframes anim {
    100% { -webkit-transform: rotate(360deg);}
}