79446559

Date: 2025-02-17 20:52:03
Score: 1
Natty:
Report link
@keyframes anim {
  100%{transform: rotate(360deg)}
}

button {
  animation-duration: 1200ms;
  animation-iteration-count: 1;
}

button:hover {
  animation-name: anim;
}

You just set the animation name to the spinning animation on hover. easy as that.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: YourAveregeCPPnoob