Created
September 12, 2018 01:49
-
-
Save janzikmund/d84d90501ca28f3b9cbd22c082b24104 to your computer and use it in GitHub Desktop.
Style HTML select element cross-browser
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 { | |
border: 1px solid #979797; | |
border-radius: 3px; | |
width: 100%; | |
font-size: 13px; | |
color: #9B9B9B; | |
padding: 10px 25px 10px 15px; | |
appearance: none; | |
background: url('../images/select-dropdown-ico.svg') calc(100% - 8px) 50% no-repeat #fff; | |
&::-ms-expand { | |
display: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment