Getting Started with Container QueriesMDN
As of this year, container queries are supported in all major browsers. But what are they, and how can we use them to build more robust, flexible layouts? Do we still need media queries? Let's find out.
This post for MDN includes everything you need to get started using container queries for building layouts.