Since we got a first look at a Container Queries prototype back in April 2021, the syntax has changed a few times. But now the spec is stable, browsers are getting ready to ship, and it’s time to make sure you’re using the same syntax they are!
Use the Right Container Query Syntax
Size queries are stable, and shipping in browsers
Repost from OddBird.net