Explain it in 60 seconds
Container queries
Frontend Engineering · HTML and CSS · Intermediate
What are container queries, and how do they differ from media queries?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Style based on container size, not viewport.
- container-type: inline-size on parent.
- @container (min-width: ...).
- Truly reusable components.
- Container query units (cqi).
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.