JSFiddle - React, Tailwind, and code Playground
by dumptyd
HTML
<div class="rotate">卐</div>
CSS
body {
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
height: 100vh; width: 100vw;
}
.rotate {
font-size: 40vw;
animation:spin 0.5s linear infinite;
}
@keyframes spin {
100% { transform:rotate(360deg); }
}