how to remove :hover from element when suddenly browser window lost focus?

For example: open [this simple jsfiddle][1] and place your windows like this: ![this][2]: Then place cursor over the jsfiddle red region to make it `:hover` (green) and now move cursor to the other window. Region still green! How to avoid of it? [1]: http://jsfiddle.net/scythargon/932Km/ [2]: http://i.stack.imgur.com/DjgI5.png

以上就是how to remove :hover from element when suddenly browser window lost focus?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏