I have tried various CSS and jQuery combinations to address the issue of displaying the option with a value of 0 in red only when it is not selected.
.red {
background: red;
}
select option[value=0] {
background: red;
}
<select id="ups">
<option value=0 class="red" selected="selected">No</option>
<option value=1>Yes</option>
</select>
Despite my extensive search, I have yet to find a satisfactory solution. Any help would be greatly appreciated. Thank you.