Flags in select


i am trying to implement a simple select which will have flags for language.it will be in the header bar
i used Flag sprites but the flags aren’t showing in the select
here’s the code of the select

        <img src="blank.gif" class="flag flag-cz" alt="Czech Republic" />
            <img src="blank.gif" class="flag flag-ad" alt="Andorra" />

thank you for the help


can you show this in a codepen or something

i think this is an example that you needed,


sorry for the delay.i tried that example before just didn’t add the js files correctly.thanks anyway