I have the following code:
select option:disabled:checked {
color: grey;
}
<select>
<option selected disabled>Initial Option</option>
<option>One</option>
<option>Two</option>
</select>
It did successfully select the right element. However, the problem is: I want to change the colour of the disabled option's text when it is selected (which is when we first load the page). Currently, I can only see the grey
colour I have applied when I select another option in the dropdown select list. I want the initial selected colour to be grey
to indicate that the user still has to choose another option. How can I achieve that?