I have a select box and I\'m trying to change the background color of the options when the select box has been clicked and shows all the options.>
select
Another option is to use Javascript:
if (document.getElementById('selectID').value == '1') { document.getElementById('optionID').style.color = '#000';
(Not as clean as the CSS attribute selector, but more powerful)