CSS style() queries landed in Firefox 151 making them newly available across engines. Here's how they work:
Using container size and style queries - CSS | MDN

Container queries enable you to apply styles to elements nested within a specific container based on the features of that container. The query returns true or false depending on whether the query condition is true for the container.

MDN Web Docs

@firefoxwebdevs

An infinite loop in css 😱

@firefoxwebdevs That was a very clear and concise presentation. I appreciate the comparison with other options, how they fare with the problem at hand and what their drawbacks are. Thanks!
@kmohrf thank you! It's based on a use-case I had when I was working at Shopify.
@firefoxwebdevs Fuck yeah, finally!! Cannot wait to use them in projects. :)