Range syntax for style queries
Limited availability
The @container style() CSS at-rule and if(style()) CSS function queries accept a range syntax, such as >, <, >=, <=, to query for inexact values.
Browser support
- Chrome 142 Released on 2025-10-28
- Chrome Android 142 Released on 2025-10-28
- Edge 142 Released on 2025-10-31
- Firefox Not supported
- Firefox for Android Not supported
- Safari Not supported
- Safari on iOS Not supported
Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.
MDN documentation
Specifications
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist