Merge pull request #119 from tailwindcss/textarea-placeholder

Apply default placeholder styling to textarea too
This commit is contained in:
Adam Wathan 2017-11-06 12:12:47 -05:00 committed by GitHub
commit 1b835d4ec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}