File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -324,6 +324,26 @@ textarea {
324324 -webkit-appearance : none;
325325}
326326
327+ /* clears the 'X' from Internet Explorer */
328+ input [type = "search" ]::-ms-clear {
329+ display : none;
330+ width : 0 ;
331+ height : 0 ;
332+ }
333+ input [type = "search" ]::-ms-reveal {
334+ display : none;
335+ width : 0 ;
336+ height : 0 ;
337+ }
338+
339+ /* clears the 'X' from Chrome */
340+ input [type = "search" ]::-webkit-search-decoration ,
341+ input [type = "search" ]::-webkit-search-cancel-button ,
342+ input [type = "search" ]::-webkit-search-results-button ,
343+ input [type = "search" ]::-webkit-search-results-decoration {
344+ display : none;
345+ }
346+
327347/**
328348 * 1. Correct the inability to style clickable types in iOS and Safari.
329349 * 2. Change font properties to `inherit` in Safari.
You can’t perform that action at this time.
0 commit comments