如何删除 select 框中选项元素周围的蓝色边框和蓝色选项颜色

How to remove blue border around option elements in select box AND blue option color

如问题标题所述,我想知道如何在单击 select 时删除选项框周围的默认蓝色边框?

以及,如何删除悬停在同一选项上时显示的默认蓝色?

UPDATE 我注意到你们很多人理解错了,实际上 THIS 是我想要定制的。

和CSS

input, select{
    outline: 0;
}

您可以使用 HTML5 个元素:

select{
    border: none;
    appearance: none;
    color: red;
}

select option{
    color: red;
}

DEMO HERE

注意:目前无法在选项中应用 css(悬停)来获得您想要的结果

有jQuery个插件可以帮到你。

Chosen