- 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