---
id: "media-query-range-syntax"
kind: "web-feature"
canonical: "https://timetostable.com/feature/media-query-range-syntax"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Media query range syntax (`media-query-range-syntax`)

The range syntax of CSS media queries allows you to use mathematical comparison operators such as <, >, <=, and >= to define a range of values for a media query. For example, (400px < width < 1000px) returns true if the viewport width is between 400px and 1000px.

- **Group**: Media queries
- **Baseline**: Widely Available
- **Newly Available Date**: 2023-03-27
- **Widely Available Date**: 2025-09-27
- **Specification**: https://drafts.csswg.org/mediaqueries-4/#mq-range-context
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Firefox | 102 | 2022-06-28 |
| Firefox for Android | 102 | 2022-06-28 |
| Chrome | 104 | 2022-08-02 |
| Chrome Android | 104 | 2022-08-02 |
| Edge | 104 | 2022-08-05 |
| Safari | 16.4 | 2023-03-27 |
| Safari on iOS | 16.4 | 2023-03-27 |

