is there a way to add a css pseudo element on a html option tag?
I have tried adding specifically to an disabled option but I have found it to be troublesome also on enabled option tags.
I tried the following approach:
css:
option:disabled span::before{
color: red;
content: "Not Available";
}
html:
<select>
<option disabled><span></span> some text </option>
</select>
eventually I didnt manage to make it work. any thoughts on how to approach this properly?