<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 5 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 5 年前。
我在 Firefox 中遇到了 css 悬停效果的问题,它只显示灰色框,但当缩略图悬停在它上面时,它会显示元素的 .jpeg 图像和文本。在谷歌浏览器中,没有灰色框,只有每个缩略图的 .jpeg,当鼠标悬停在文本上时会出现。我已附上我网站的链接,请在 firefox 中查看问题,并在 google chrome 中查看效果是否正常。
最佳答案
opacity: 0;
在 thisfuckingcss.css:111
中破坏了 firefox 体验。我不确定为什么它最初设置为 0,但 opacity: 1;filter: alpha(opacity=1);
对我来说看起来不错。如果需要,您可以从此处继续调查。
关于css - 悬停效果在 Firefox 中显示背景颜色而不是 .jpeg,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45785434/