Consider the following example: (live demo)
HTML:
<select>
<option>Hello</option>
<option>Stack</option>
<option class="a">Overflow</option>
</select>
CSS:
option.a {
background-color: red;
}
On Windows in Chrome 17 the styling works as expected:
while on Mac in Chrome 17 it doesn't work:
Any ideas how to add a background color to <option>
on Mac?
It's a known bug in chrome. Styles don't get applied to options on the Mac.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With