web-features explorer

Media query range syntax

Newly available since 2023-03-27 (baseline low)

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 feature. For example, (400px < width < 1000px) returns true if the viewport width is between 400px and 1000px.

Compatibility (view on caniuse.com)

BCD data