Last active
March 27, 2019 09:35
-
-
Save beachcomber/af1855f8b82825d2761361b7e6fb7d62 to your computer and use it in GitHub Desktop.
Remove the X from input type=search
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
<input type="search"> | |
/* this will clear the 'X' from Internet Explorer & Chrome*/ | |
input[type=search]::-ms-clear, | |
input[type=search]::-ms-reveal, | |
input[type="search"]::-webkit-search-decoration, | |
input[type="search"]::-webkit-search-cancel-button, | |
input[type="search"]::-webkit-search-results-button, | |
input[type="search"]::-webkit-search-results-decoration { | |
display: none; | |
width : 0; | |
height: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment