CSS Container Query Builder
Container queries let components respond to their parent container's size — not the viewport. Set a container-name and container-type on the parent, define breakpoints with CSS rules, and drag the preview slider to see the element respond in real time.
Preview — 420px container
↔ drag sliderGreen dashed border = container. Card responds to @container breakpoints you defined.
How to use
Pick a preset
Start from 4 presets (card, sidebar, hero, grid) to see a working @container setup immediately.
Configure the container
Set container-name, container-type (inline-size is most common), and the parent + child CSS selectors.
Add breakpoints
Each breakpoint has optional min-width and max-width thresholds, plus a list of CSS property:value rules.
Preview and copy
Drag the width slider to see the container query fire in real time. Copy the complete CSS when done.