【问题标题】:Need to stop the Image rotation when mouse over it鼠标悬停时需要停止图像旋转
【发布时间】:2016-06-08 09:58:32
【问题描述】:

在我的页面中有一个旋转的图像。最初如果我加载页面它会自动旋转,但是当光标悬停在它上面时我需要停止旋转,如果我再次移动光标它需要开始旋转

【问题讨论】:

标签: php html css image-rotation


【解决方案1】:

请下次提供更多信息。 :)

img:hover
{
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
     animation-play-state: paused;
}

【讨论】:

  • 请投票或选择此作为最佳答案,非常感谢:)
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2020-08-27
  • 2012-06-17
  • 1970-01-01
  • 1970-01-01
  • 2019-12-20
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多