JSFiddle - React, Tailwind, and code Playground
by thecoz21
HTML
<script src="https://raw.github.com/LeaVerou/prefixfree/gh-pages/prefixfree.min.js"></script>
<!doctype html>
<html>
<head>
</head>
<body>
<img src="http://sandropaganotti.com/wp-content/goodies/courses/CorsoCSS3/assets/tiger.jpg">
</body>
</html>
CSS
img{
border-radius: 50%;
width:400px;
height:400px;
/*transform:rotate(30deg);*/
animation:ruota 2s infinite alternate;
/* animation-fill-mode:forwards;*/
}
@keyframes ruota{
0%{transform:rotate(0deg);}
100%{transform:rotate(3600deg);}
}