Merge pull request #571 from necolas/fix/550

Correct the text style of placeholders in Chrome, Edge, and Safari
This commit is contained in:
Jonathan Neal 2016-04-10 18:21:40 -04:00
commit 49d20b834e

9
normalize.css vendored
View File

@ -391,3 +391,12 @@ textarea {
[type="search"]::-webkit-search-decoration { [type="search"]::-webkit-search-decoration {
-webkit-appearance: none; -webkit-appearance: none;
} }
/**
* Correct the text style of placeholders in Chrome, Edge, and Safari.
*/
::-webkit-input-placeholder {
color: inherit;
opacity: 0.54;
}