How to change the default dropdown icon for a selected list

Is there any code or website that will provide me with the source code for custom selection

I want to use an image instead of the default dropdown icon.

thank

+3
source share
4 answers

This cannot be done with plain HTML or CSS, I tried it too.

You may find this useful: jQuery custom checkboxes .

It is actually easy to implement, and you can style the selection fields in any way.

Hope this helps :)

+2
source

No, this cannot be done with regular HTML elements <select>.

You will have to resort to an alternative based on JavaScript.

+1
source

The uniform plugin for jQuery is not bad for this; It allows you to style the item of the dropdown selection item, as well as checkboxes and radio buttons. It is worth a look.

+1
source

Source: https://habr.com/ru/post/1748497/


All Articles