In my page having an image which is in rotation. Initially if i load the page it will rotate automatically, but I need to stop rotation when cursor over it, if i move the cursor it again need to start the rotation
Asked
Active
Viewed 171 times
-3
-
3Questions seeking code help must include the shortest code necessary to reproduce it **in the question itself** preferably in a [**Stack Snippet**](https://blog.stackoverflow.com/2014/09/introducing-runnable-javascript-css-and-html-code-snippets/). See [**How to create a Minimal, Complete, and Verifiable example**](http://stackoverflow.com/help/mcve) – Paulie_D Jun 08 '16 at 09:59
1 Answers
0
Please provide more information next time. :)
img:hover
{
-webkit-animation-play-state: paused;
-moz-animation-play-state: paused;
-o-animation-play-state: paused;
animation-play-state: paused;
}

Bucky208
- 76
- 1
- 10