-2

What i need to do is to change blue color when i mouseover each option.

Here is HTML code,

<select id="color" class="colorchange">
    <option class="one" value="one" >one</option>
    <option class="two"   value="two" >two</option>
    <option class="three" value="three" >three</option>
</select>

I am really welcome if anyone help me in CSS solution..

Prasanga
  • 1,008
  • 2
  • 15
  • 34

1 Answers1

-1

Simply:

option:hover { background-color: yellow; }
kieranpotts
  • 1,510
  • 11
  • 8