Apply default placeholder styling to textarea too

This commit is contained in:
Adam Wathan 2017-11-06 12:08:55 -05:00
parent 7b5c4412e8
commit 00acae6c71
2 changed files with 3 additions and 2 deletions

View File

@ -548,7 +548,8 @@ textarea {
font-family: inherit;
}
input::placeholder {
input::placeholder,
textarea::placeholder {
color: inherit;
opacity: .5;
}

View File

@ -536,7 +536,7 @@ svg { fill: currentColor; }
button, input, optgroup, select, textarea { font-family: inherit; }
input::placeholder {
input::placeholder, textarea::placeholder {
color: inherit;
opacity: .5;
}