Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardCSScontainer-query internalsSingle-choice MCQ

Why must a container-query container declare `container-type: inline-size` (or `size`) rather than the engine just querying any ancestor's width, and what containment does that imply?

.card-wrap { container-type: inline-size; }