mrmarkfrench / country-select-js

A quick jQuery-based country picker based on https://github.com/Bluefieldscom/intl-tel-input.git
MIT License
282 stars 105 forks source link

Styling the dropdown #62

Closed mike-van closed 6 years ago

mike-van commented 6 years ago

can anyone tell me how to customize the flags dropdown like selected flag size, dropdown button and sth else? Suppose i want it to look like this untitled

mrmarkfrench commented 6 years ago

The flags are all taken from a single image, so you could scale them, but they're low enough resolution I'm not sure you're going to be happy with the results.

You can also add your own styles to the .country-select-input class (this is the container the drop-down will be built inside of). These will allow you to set various styling values for the elements the plugin creates inside of that container. I'd recommend just inspecting the built elements to see what you might like to adjust.