:placeholder-shown

baseline logo Widely available

The :placeholder-shown CSS pseudo-element selects <input> and <textarea> elements when no value is set and the element’s placeholder attribute is not empty. Not to be confused with ::placeholder, which selects the placeholder text itself.

Notes

Support data provided by: BCD logo

Know something we don't?

Is any of the above data outdated? Or do you want to add a new WebView to the list? Heads on to GitHub and edit the data file!

Not comfortable with GitHub? Send us an email.

Please help us keeping this data updated

This feature was documented on January 15, 2020.