Baseline Widely Media queries
resolution media query
The resolution CSS media query sets styles based on the pixel density, or how many pixels a device uses to display a single CSS pixel.
Baseline Status
Widely Available
Since 2022-09-12
First Core Launch
Chrome 68
2018-07-24
Core-3 Stability
1,511d (4.1y)
Last: Safari (2022-09-12)
BCD Keys Mapped
6
Group: Media queries
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Chrome | desktop | 68 | 2018-07-24 |
| Chrome Android | mobile | 68 | 2018-07-24 |
| Firefox | desktop | 62 | 2018-09-05 |
| Firefox for Android | mobile | 62 | 2018-09-05 |
| Edge | desktop | 79 | 2020-01-15 |
| Safari | desktop | 16 | 2022-09-12 |
| Safari on iOS | mobile | 16 | 2022-09-12 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.at-rules.media.resolution | CSS | 3,961d (10.8y) |
| css.types.resolution | CSS | 3,961d (10.8y) |
| css.types.resolution.dpcm | CSS | 3,961d (10.8y) |
| css.types.resolution.dpi | CSS | 3,961d (10.8y) |
| css.types.resolution.dppx | CSS | 3,625d (9.9y) |
| css.types.resolution.x | CSS | 1,511d (4.1y) |