鼠标悬停时需要停止图像旋转
Need to stop the Image rotation when mouse over it
在我的页面中有一个旋转的图像。最初如果我加载页面它会自动旋转,但是当光标在它上面时我需要停止旋转,如果我再次移动光标它需要开始旋转
请下次提供更多信息。 :)
img:hover
{
-webkit-animation-play-state: paused;
-moz-animation-play-state: paused;
-o-animation-play-state: paused;
animation-play-state: paused;
}
在我的页面中有一个旋转的图像。最初如果我加载页面它会自动旋转,但是当光标在它上面时我需要停止旋转,如果我再次移动光标它需要开始旋转
请下次提供更多信息。 :)
img:hover
{
-webkit-animation-play-state: paused;
-moz-animation-play-state: paused;
-o-animation-play-state: paused;
animation-play-state: paused;
}