mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-06 04:04:21 +00:00
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:
parent
ab3abb6d36
commit
1ea0cc6e39
9
normalize.css
vendored
9
normalize.css
vendored
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user