如何摆脱围绕整个选项列表的蓝色边框 [英] How to get rid of the blue border that surrounds the entire options list
本文介绍了如何摆脱围绕整个选项列表的蓝色边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想做的是如果我点击选择框,下拉列表显示下拉列表的蓝色边框颜色将被删除。
I want to do is if i click the select box and the dropdown list show the blue border-color of the dropdown list will be remove.
测试链接: http://jsfiddle.net/5kcsn/320/
脚本:
$("input, select, textarea, form, button").css("outline", "none");
$("input, select, textarea, form, button").css("box-shadow", "none");
css:
option:focus{
background-color:#FFF;
outline:none;
border:none;
box-shadow:none;
}
推荐答案
是不是一种方法来删除它。请参阅以下答案:选择菜单选项边框无
Unfortunately, it looks like there is not a way to remove it. Please see this answer: Select menu option border none
这篇关于如何摆脱围绕整个选项列表的蓝色边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文