css – Intl-tel-input: Make Country list dropdown width match the input field width


Can anyone help me how can I make the country list dropdown to always match the input field width?

enter image description here

Setting country list dropdown to 100% do not work. It should have 100% width of its grandparent. But, not sure how to achieve that.

It can be achieved by javascSrcipt, but I need to do it using CSS only.

Here is the online demo url:
https://intl-tel-input.com/

Thanks,



Source link

Latest articles

Related articles

Leave a reply

Please enter your comment!
Please enter your name here