The :placeholder-shown pseudo-class matches an input element that is showing placeholder text.

Specification

Working draft or equivalent

Status in Chromium

Blink


Enabled by default (tracking bug) in:

  • Chrome for desktop release 47
  • Chrome for Android release 47
  • Android WebView release 47

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Last updated on 2021-01-16