WebTechnologies
CSS container queries: components that adapt to their own space
Container queries let a component change its layout based on the size of its parent instead of the viewport. Learn the syntax, container units and when to use them.
3 min readArticle