JSFiddle - React, Tailwind, and code Playground
HTML
<section class="logo">
<span class="circle">< <span class="spin">; )</span> ></span>
</section>
CSS
.circle {
font-weight: 100;
font-size: 36px;
color: #fff;
background: #000;
width: 143px;
height: 143px;
display: inline-block;
text-align: center;
border-radius: 50%;
line-height: 143px;
}
.circle:hover .spin {
-webkit-animation-name: drop;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 1;
-webkit-animation-direction: alternate;
-webkit-animation-timing-function: ease-out;
-webkit-animation-delay: 0;
-webkit-animation-fill-mode: forwards;
}
@-webkit-keyframes drop {
100% {
-webkit-transform: rotate(90deg);
}
}