7
我正在使用Firefox和谷歌浏览器。删除Google Chrome上的输入焦点
在Firefox上我没有问题,焦点颜色是蓝色。
在Chrome的重点是蓝+橙。
如何删除橙色的?它作为Chrome中的默认输入焦点。
HTML
<td><input type="text" name="user_login" class="input" autocomplete="off"></td></tr>
CSS
.input{
border:1px solid #dbdbdb;
padding:0 5px 0 5px;
height:26px;width:200px;
border-radius:3px;
font-family:"Arial Black", Gadget, sans-serif;
font-size:13px;
}
.input:focus{
border:1px solid rgba(51,153,255,0.4);
box-shadow:0 0 5px rgba(51,153,255,0.4);
}
谢谢你,我不知道这是一个大纲。 –
如果你使用bootstrap,你还需要做box-shadow:none; – davidcondrey
在Chrome 40.0.2214.115中不适用于我;我仍然得到蓝色的轮廓 – dlchambers