mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Remove search cancel button from search inputs on Mac OS X.
After normalizing the search input on OS X, the search cancel pseudo-element is not always well positioned and is missing from other UAs.
This commit is contained in:
parent
23c6fe17d2
commit
efd8220019
10
normalize.css
vendored
10
normalize.css
vendored
@ -1,4 +1,4 @@
|
|||||||
/*! normalize.css 2012-01-17T15:37 UTC - http://github.com/necolas/normalize.css */
|
/*! normalize.css 2012-01-17T16:33 UTC - http://github.com/necolas/normalize.css */
|
||||||
|
|
||||||
/* =============================================================================
|
/* =============================================================================
|
||||||
HTML5 display definitions
|
HTML5 display definitions
|
||||||
@ -402,6 +402,14 @@ input[type="search"]::-webkit-search-decoration {
|
|||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Removes search cancel button in S5, Chrome on OS X
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="search"]::-webkit-search-cancel-button {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes inner padding and border in FF3+
|
* Removes inner padding and border in FF3+
|
||||||
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
||||||
|
Loading…
Reference in New Issue
Block a user