Is it possible to change the default background color of the select list option on hover?
HTML:
<select id="select">
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
select {
-webkit-border-radius:25px; -moz-border-radius:25px; border-radius:25px;
}
select:hover {
background-color:gren;
}
option:hover {
background-color:yellow;
}
option {
-webkit-border-radius:25px; -moz-border-radius:25px; border-radius:25px;
color:blue;
background-color:yellow;
}
I have tried option :hover{background-color:red;}
, but it is of no use. Does anybody know how to do this?