html - 悬停动画上的 Firefox 虚线框

标签 html css firefox animation

我目前正在构建一个使用 animate.css 的网站一些图标上的“tada”动画(参见 here )。当动画在悬停时执行时,一些用户会在 div 周围看到一个虚线框。如何删除 Firefox 中的虚线框?

我尝试使用以下 CSS 删除它:

:focus {outline:none;}
::-moz-focus-inner {border:0;}

enter image description here

最佳答案

img
{  
border-style: none;
}

适用于图像,我认为它也适用于虚线框

关于html - 悬停动画上的 Firefox 虚线框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20665528/

相关文章:

javascript - 如何让这个 Slick.js 元素中的文本不超过它的容器?

css - 大量媒体查询分布在文件中是否可以

animation - Firefox 中的蒙版故障内的 SVG 动画

Rselenium - 如何禁用 Firefox 配置文件中的图像

html - 较小屏幕上的 Bootstrap 菜单按钮

javascript - Jquery 对话框中的单选按钮

html - 在纯 css 图片上向下滑动

html - 无法将内容放入 Bootstrap 4 的容器中

javascript - Firefox 中奇怪的 CTRL 键检测

javascript - 当我使用 js 更改 className 时,css 转换不起作用