Correct the text style of placeholders in Chrome, Edge, and Safari

Normalizes placeholder styles in Edge, Chrome, and Safari with Firefox.
This commit is contained in:
Jonathan Neal 2016-04-07 11:09:53 -04:00
parent ab3abb6d36
commit 1ea0cc6e39

9
normalize.css vendored
View File

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