---
id: "placeholder-shown"
kind: "web-feature"
canonical: "https://timetostable.com/feature/placeholder-shown"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# :placeholder-shown (`placeholder-shown`)

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.

- **Group**: Selectors
- **Baseline**: Widely Available
- **Newly Available Date**: 2020-01-15
- **Widely Available Date**: 2022-07-15
- **Specification**: https://drafts.csswg.org/selectors-4/#placeholder
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari on iOS | 9 | 2015-09-16 |
| Safari | 9 | 2015-09-30 |
| Chrome | 47 | 2015-12-01 |
| Chrome Android | 47 | 2015-12-02 |
| Firefox | 51 | 2017-01-24 |
| Firefox for Android | 51 | 2017-01-24 |
| Edge | 79 | 2020-01-15 |

