gpt4 book ai didi

css - 将鼠标悬停在 Chrome 中的元素上后,工具提示图像卡住

转载 作者:行者123 更新时间:2023-11-28 18:55:13 25 4
gpt4 key购买 nike

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

这是 jsFiddle 测试用例:

http://jsfiddle.net/UYxBt/

最佳答案

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

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

关于css - 将鼠标悬停在 Chrome 中的元素上后,工具提示图像卡住,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8116410/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com