Container Queries
Container Queries: Container Queries: Components That Fit Their Space.
Updated
- Container Queries: Components That Fit Their Space (Freelancer): A container query changes a component's style by the width of the box it sits in instead of the width of the screen, so one product card can be stacked in a narrow sidebar and side by side in a wide spot on the same page.