Skip to main content

Introduction to Container Queries

  • A nice use case for adapting the font size of cards that change their size and layout as the viewport widens

Original video by Coding in Public:

Container queries provide much more flexibility for styling children. Here’s a brief overview.

πŸ”— Key Links πŸ”—
- Github: https://github.com/coding-in-public/intro-to-container-queries
- MDN docs: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS\_containment/Container\_queries

---------------------------------------

🌐 Connect With Me 🌐
- Website: https://codinginpublic.dev
- Blog: https://chrispennington.blog
- Twitter: https://twitter.com/cpenned
- Patreon: https://www.patreon.com/coding\_in\_public
- Buy Me a Coffee: https://www.buymeacoffee.com/chrispennington