html - 焦点上的输入文本区域删除橙色边框?

标签 html css input

我已经尝试了所有我能想到的方法来删除它。如何在焦点边框上删除这个疯狂的 firefox?当我点击输入区域时,它会以橙色边框突出显示。

这是我的 CSS

.noFocus:focus {
outline: none !important;
border: none !important;
-moz-appearance:none;
}

textarea:focus, input:focus{
    outline: none;
    border: none !important;
-moz-appearance:none;
}

最佳答案

这适用于您遇到的问题-

input, select, textarea, button {
    -moz-box-shadow:none;
}

关于html - 焦点上的输入文本区域删除橙色边框?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15746509/

相关文章:

jquery - 如何在不知道父级高度的情况下垂直居中 div?

html - 将 <img> 标签与表格中的文本对齐

java - 在 Java 中使用 nextInt 获取输入

javascript - 如何让网页只显示一次?

javascript - 如何在两个图像之间即时切换?

c++ - 我的 C++ 程序中的文件输入有问题

javascript - React - 专注于使用名称输入

html - 浏览器中的字体兼容性问题

html - 使子溢出 div 正确调整其父级的大小

html - 使用 flexbox 垂直间隔列表和子列表项