Last active
December 31, 2015 17:39
-
-
Save Gaya/8022072 to your computer and use it in GitHub Desktop.
Select Box Reset: Resets the looks of a <select> to a <input[type=text]>. Works in Chrome, Safari, Firefox, Opera and IE10+
This file contains hidden or 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 { | |
//disable webkit looks | |
-webkit-appearance: none; | |
//disable firefox looks | |
-moz-appearance: none; | |
text-indent: 0.01px; | |
text-overflow: ""; | |
//misc | |
-o-appearance: none; | |
appearance: none; | |
//our favorite browser | |
-ms-appearance: none; | |
&::-ms-expand { | |
display: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment