<!DOCTYPE html> <html> <head> <style> div { }
@keyframes like { from {transform:rotate(0deg);} to {transform:rotate(360deg);} } .like{ animation:like 0.2s linear infinite; width:16px; height:16px; background:rgba(186,89,255,1); border-radius:50%; } </style> </head> <body>
<div class='like'>1</div>
</body> </html>