-
-
Save htmlstrap/1b7b2dae6dfb753c7401 to your computer and use it in GitHub Desktop.
LESS Mixin that clears browsers' default select box styles.
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
.clear-select { | |
border: none; | |
border-radius: 0; | |
outline: none; | |
appearance: none; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
-o-appearance: none; | |
text-indent: 0.01px; // Need this to hide default select in FF | |
text-overflow: ''; // Need this to hide default select in FF | |
&::-ms-expand { | |
display: none; // Need this to hide default select in IE10 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment