diff --git a/normalize.css b/normalize.css index 192eb9c..9ce0754 100644 --- a/normalize.css +++ b/normalize.css @@ -300,6 +300,26 @@ textarea { -webkit-appearance: none; } +/* clears the 'X' from Internet Explorer */ +input[type="search"]::-ms-clear { + display: none; + width: 0; + height: 0; +} +input[type="search"]::-ms-reveal { + display: none; + width: 0; + height: 0; +} + +/* clears the 'X' from Chrome */ +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; +} + /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari.