Skip to content

Commit 49d20b8

Browse files
author
Jonathan Neal
committed
Merge pull request #571 from necolas/fix/550
Correct the text style of placeholders in Chrome, Edge, and Safari
2 parents 809d747 + 1ea0cc6 commit 49d20b8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

normalize.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,3 +391,12 @@ textarea {
391391
[type="search"]::-webkit-search-decoration {
392392
-webkit-appearance: none;
393393
}
394+
395+
/**
396+
* Correct the text style of placeholders in Chrome, Edge, and Safari.
397+
*/
398+
399+
::-webkit-input-placeholder {
400+
color: inherit;
401+
opacity: 0.54;
402+
}

0 commit comments

Comments
 (0)