阅读背景:

HTML选择选项倍数 - 当不在焦点上时更改所选项目灰色背景

来源:互联网 

I have HTML select box with multiple selection. When I select item/s and lose focus on the control - the background color of the selected items is gray and I would like to change it to some other color. I can change the background of the selected items but it only works the select box is focused and my goal is to change the color when not on focus. Here is an example in JSFiddle - notice by default the gray background:I have HTML select box with multiple selection.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: