Is there a way to change the default color of the selected html list item?

Ok, not sure if this is possible, but I want to change the default color of the selected HTML list item. I am not talking about the background color of the list option tag. This can be done via CSS, I understand. I am talking about a color that overrides this background color when selecting an item. In Chrome, FF, and IE, if I just changed the background color to red, and then select an item from the list, the color will now be blue. I can't seem to find anything about whether color redefinition is possible, but I was hoping someone might know. Thanks for any help.

+5
source share
2 answers

. <select> , - . , JS/HTML/CSS , , true <select> s.

, UX. , , . .

+4

All Articles