The Placeholder-shown Pseudo-class: :placeholder-shown

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


Working draft or equivalent

Status in Chromium

Enabled by default (launch bug) in:

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

Consensus & Standardization


Last updated on 2016-08-08