Symptom: Container queries have no effect
Root cause#
No ancestor establishes @container.
The fix#
Add @container to the sizing ancestor; verify the variant uses the right axis.
Verify#
- Hard-refresh (the CSS cache is the #1 false negative)
- Re-generate and re-link the stylesheet
- Search the docs for the exact class — spelling is unforgiving
Related#
troubleshooting/index|All issues · faq/index|FAQ
