Skip to content

Commit

Permalink
Add placeholder color normalization
Browse files Browse the repository at this point in the history
As @mathiasbynens points out, webkit has already set the placeholder, and it has set it as darkGray (#A9A9A9)
  • Loading branch information
jonathantneal committed Mar 9, 2012
1 parent 49392e9 commit f9572a4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -469,17 +469,12 @@ input[type="search"]::-webkit-search-cancel-button {
}

/*
* Improves consistency of placeholder style between Chrome, Safari, and Firefox browsers
* Addresses placeholder color unset in Firefox
*/

::-webkit-input-placeholder
{
color: #AAA;
}

:-moz-placeholder
{
color: #AAA;
color: #A9A9A9;
}

/*
Expand Down

0 comments on commit f9572a4

Please sign in to comment.