如何删除文本/输入框周围的焦点边框(轮廓)? (Chrome)[重复]

问题:

This question already has an answer here: 这个问题在这里已有答案: app

Can anyone explain how to remove the orange or blue border (outline) around text/input boxes? 任何人均可以解释如何删除文本/输入框周围的橙色或蓝色边框(轮廓)? I think it only happens on Chrome to show that the input box is active. 我认为只有在Chrome上才会显示输入框处于活动状态。 Here's the input CSS I'm using: 这是我正在使用的输入CSS: spa

input {
    background-color: transparent;
    border: 0px solid;
    height: 20px;
    width: 160px;
    color: #CCC;
}

在此输入图像描述


解决方案:

参考一: https://stackoom.com/question/EFk9/如何删除文本-输入框周围的焦点边框-轮廓-Chrome-重复
参考二: https://oldbug.net/q/EFk9/How-to-remove-focus-border-outline-around-text-input-boxes-Chrome-duplicate
相关文章
相关标签/搜索