Answers for "how to rotate an image by hover in css"

4

git commit all changes

#Add all files which have been modified (including tracked and untracked)
git add -A
#Commit changes with a message
git commit -m "some message"
Posted by: Guest on May-29-2020
4

Rotate an image on hover CSS

<input class = "spin" type="image" src="(IMAGE URL)" width="42" height="42" alt="a" title"Transform 360 deg. image!">

<style>
.spin:hover {
height: 60px;
width: 60px;
transition: .5s;
transform: rotate(360deg);
}
</style>

<!-- You can remove the height and width elements in the CSS style tag if you wish. -->
Posted by: Guest on March-13-2021

Browse Popular Code Answers by Language