I have a select here:
<select name="" id="">
<option disabled hidden selected value="">
default
</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="3">3</option>
</select>
I am trying to make the placeholder or the first value a different color so it looks like a placeholder. I have tried doing things like:
select option:disabled { color: red; }
select :invalid { color: red; }
select option:first-child { color: red; }
select { color: grey; } option:first-child { color: red;}
None of these have worked so I'm kind of stuck. I don't really want to have to use a trick like making the color transparent and putting a label on top of the select.