Has anyone tried the new container queries in production?
We shipped them last week. Works great for card layouts that need to adapt to sidebar vs main content width.
Nice. What about browser support?
Around 92% global support now. We use a fallback with media queries for the rest.
I tried them for a dashboard project. The @container syntax feels natural if you already know media queries.
The tricky part is naming containers. We ended up with a convention: component-name as the container name.
That makes sense. Do you scope them per component or globally?
Per component. Global container names get messy fast in a large codebase.