SyntaxFix
Write A Post
Hire A Developer
Questions
It's very simple.
You create a css property to this image.
img { transition: all 0.3s ease-in-out 0s; }
You add an animation like that:
img:hover { cursor: default; transform: rotate(360deg); transition: all 0.3s ease-in-out 0s; }