Google Chrome Placeholder Color

Just wanted to drop a line for these html developers who didn’t noticed that Google Chrome (as well as other webkit browsers) has a default placeholder color for inputs & textareas. I just found this today while testing one of my HTML themes.

::-webkit-input-placeholder { color: inherit; }

somewhere in your CSS will reset it.

Helpful Thanks :slight_smile:

When I add in my CSS file it’s work but in w3c CSS validator show me below message:

Unknown pseudo-element or pseudo-class ::-webkit-input-placeholder [-webkit-input-placeholder]