I mostly use chrome in osx and I recently discovered styling html option element not applied in any browser(chrome, firefox, safari) in osx.
// HTML
<select>
<option class="option">Value 1</option>
<option class="option">Value 2</option>
<option class="option">Value 3</option>
</select>
// CSS
select {
background-color: #fff;
color: transparent;
}
.option {
color: black; /* This is not applied in osx */
}
Check codepen: https://codepen.io/Dongbin/pen/PoejmeM
Then, I tried the above code in any browser in windows and it worked as I wrote.
Wonder what this is about and any particular reason in it from osx side.