【问题标题】:Tooltip image gets stuck after hovering on an element in Chrome将鼠标悬停在 Chrome 中的元素上后,工具提示图像卡住
【发布时间】:2011-12-28 07:41:39
【问题描述】:

当您将鼠标悬停在小 (?) 图像上时,我们会显示一个工具提示。然而,在 Chrome 中,当您取消悬停(鼠标移出)时,我们工具提示上的部分图像仍会以某种方式显示,就像某种幻影图像一样。

这是 jsFiddle 测试用例:

http://jsfiddle.net/UYxBt/

【问题讨论】:

  • 你能做一个jsFiddle 测试用例吗?
  • 我现在添加了一个测试用例。

标签: css image google-chrome tooltip


【解决方案1】:

不要使用内联元素'.tooltip span'。使用'div' 或将'display:block' 添加到您的css 文件的此范围内。

http://jsfiddle.net/fliptheweb/UYxBt/1/

【讨论】:

猜你喜欢
  • 2013-06-24
  • 1970-01-01
  • 2014-12-31
  • 1970-01-01
  • 1970-01-01
  • 2012-01-06
  • 1970-01-01
  • 2018-12-08
  • 2023-02-04
相关资源
最近更新 更多