Range syntax for style queries
The @container style() CSS at-rule and if(style()) CSS function queries accept a range syntax, such as >, <, >=, <=, to query for inexact values.
Status
Limited availability
MDN documentation
Specifications
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 ❌ See bugzil.la/1986631 bugzil.la/1998245
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
Developer votes
Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist