I've searched around a lot and see people suggesting that:
::-moz-selection {background: red;}
::selection {background: red; }
..works for colouring the background of the currently selected items in a multiple select form item. (Note: I mean the selected items, not the items with focus).
I can't get this to work. Am I doing it wrong?
#dropdowns select::selection {
background: red;
}
Cheers :/
Setup: Using Chrome for Mac
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…