mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Combine the two WebKit search input pseudo-element rules
This commit is contained in:
parent
a336a75dd2
commit
f913304498
13
normalize.css
vendored
13
normalize.css
vendored
@ -1,4 +1,4 @@
|
|||||||
/*! normalize.css 2012-01-22T23:00 UTC - http://github.com/necolas/normalize.css */
|
/*! normalize.css 2012-01-22T23:30 UTC - http://github.com/necolas/normalize.css */
|
||||||
|
|
||||||
/* =============================================================================
|
/* =============================================================================
|
||||||
HTML5 display definitions
|
HTML5 display definitions
|
||||||
@ -393,17 +393,10 @@ input[type="search"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes inner padding that is displayed in S5, Chrome on OS X
|
* Removes inner padding and search cancel button in S5, Chrome on OS X
|
||||||
*/
|
|
||||||
|
|
||||||
input[type="search"]::-webkit-search-decoration {
|
|
||||||
-webkit-appearance: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Removes search cancel button in S5, Chrome on OS X
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
input[type="search"]::-webkit-search-decoration,
|
||||||
input[type="search"]::-webkit-search-cancel-button {
|
input[type="search"]::-webkit-search-cancel-button {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user