Media Queries: Range SyntaxExternal Link

BaselineWidely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2025.

Syntax improvements to make media queries using features that have a "range" type (like width or height) less verbose. Can be used with ordinary mathematical comparison operators: >, <, >=, or <=.

For example: @media (100px <= width <= 1900px) is the equivalent of @media (min-width: 100px) and (max-width: 1900px)

IE
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
Globals: 96.02% of all users can use this feature, 96.02% fully supported, 0% partially supported
✓Supported
✗Not supported
Partial support