:placeholder-shown CSS pseudo-class

- WD

Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in HTML5. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text.

IE

  1. 5.5 - 9: Not supported
  2. 10: Partial support
  3. 11: Partial support

Edge

  1. 12 - 18: Not supported
  2. 79: Supported
  3. 80: Supported

Firefox

  1. 2 - 3.6: Not supported
  2. 4 - 50: Partial support
  3. 51 - 72: Supported
  4. 73: Supported
  5. 74 - 75: Supported

Chrome

  1. 4 - 46: Not supported
  2. 47 - 79: Supported
  3. 80: Supported
  4. 81 - 83: Supported

Safari

  1. 3.1 - 8: Not supported
  2. 9 - 12.1: Supported
  3. 13: Supported
  4. TP: Supported

Opera

  1. 9 - 33: Not supported
  2. 34 - 65: Supported
  3. 66: Supported

iOS Safari

  1. 3.2 - 8.4: Not supported
  2. 9 - 13.1: Supported
  3. 13.2: Supported
  4. 13.3: Supported

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 80: Supported

Blackberry Browser

  1. 7: Not supported
  2. 10: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 46: Not supported

Chrome for Android

  1. 80: Supported

Firefox for Android

  1. 68: Supported

IE Mobile

  1. 10: Not supported
  2. 11: Not supported

UC Browser for Android

  1. 12.12: Supported

Samsung Internet

  1. 4: Not supported
  2. 5 - 9.2: Supported
  3. 10.1: Supported

QQ Browser

  1. 1.2: Supported

Baidu Browser

  1. 7.12: Supported

KaiOS Browser

  1. 2.5: Partial support

For support of styling the actual placeholder text itself, see CSS ::placeholder

Resources:
WebKit commit
Firefox bug
Microsoft Edge feature request on UserVoice