I am having trouble setting background images for the options in a select dropdown. Can anyone provide guidance on how to achieve this? Thank you.
select #imge option[value="1"] {
background-image: url(tree.png);
}
<div id="ddls">
<select id="imge" class="ddls">
<option value="nothing"></option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</div>