Web platform features explorer

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

No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.

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
  • 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.