I am trying to achieve something with pure CSS that I am not sure is possible after some searching. I need to have a select element that is styled different once an option has been selected. The style is not reliant upon any particular option, just an option. Here is my dropdown:
<div>
<select id="select_element" name="select_name">
<option hidden disabled selected value=""></option>
<option value="option">Option 1</option>
<option value="option">Option 2</option>
<option value="option">Option 3</option>
</select>
<label for="select_element">Question for select?</label>
</div>
How can I properly target the select element once an option has been selected? I am trying to apply different styles for the select in its base state and once an option has been selected. Any help would be greatly appreciated!