Last active
October 18, 2017 07:55
-
-
Save stasgavrylov/a4d23b3bf3b0f58998b814e0afd96279 to your computer and use it in GitHub Desktop.
IE11 CSS
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
/* Neutral styling for select in IE11 */ | |
select { | |
padding-left: 7px; | |
border-top-right-radius: 3px; | |
border-bottom-right-radius: 3px; | |
background: linear-gradient( to top, #f5f5f6, #fff); | |
-moz-appearance: none; | |
-webkit-appearance:none; | |
} | |
option:checked:hover { | |
background-color: #d3d0c8; | |
} | |
option:active, | |
option:checked, | |
select:focus::-ms-value { | |
color: black; | |
background-color: white; | |
} | |
select::-ms-expand { | |
display: none; | |
} | |
/* CORRECT WORD BREAKS */ | |
-ms-word-wrap: break-word; | |
word-break: normal; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment