I'm trying to create a thumbnail for my autocomplete option but I couldn't see my image on option no matter I use css.what's wrong with my code or how can it be happen using image on option ? I'm talking about for all option different image and I don't want to use style background because it work's only firefox
select {
width: 300px;
padding: 10px;
border: 1px solid #ccc;
}
option {
padding: 10px;
}
<select>
<option>Option 1 <img src="https://cdn4.iconfinder.com/data/icons/web-development-5/500/coffee-break-html-code-64.png"></option>
<option>Option 2 <img src="https://cdn4.iconfinder.com/data/icons/web-development-5/500/checked-www-domain-window-64.png"></option>
</select>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>