Created
July 22, 2019 09:24
-
-
Save onuproy/89c66961921d41f622e65390718138b4 to your computer and use it in GitHub Desktop.
How to remove the default arrow icon from a dropdown list (select element)?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select::-ms-expand { | |
display: none !important; | |
} | |
select { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
text-indent: 1px; | |
text-overflow: ''; | |
} | |
select { | |
/* for Firefox */ | |
-moz-appearance: none; | |
/* for Chrome */ | |
-webkit-appearance: none; | |
} | |
/* For IE10 */ | |
select::-ms-expand { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment