mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Merge pull request #571 from necolas/fix/550
Correct the text style of placeholders in Chrome, Edge, and Safari
This commit is contained in:
commit
49d20b834e
9
normalize.css
vendored
9
normalize.css
vendored
@ -391,3 +391,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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user