Overview
Explore advanced container query techniques in this 15-minute video tutorial. Learn how container queries go beyond media queries by considering parent font sizes, opening up new design possibilities. Discover the basics of container queries, understand the importance of units in container-based layouts, and create "smart" designs that adapt intelligently to their containers. Dive into practical examples, including the classic card component, and gain insights into making responsive layouts more flexible and context-aware. Conclude with a bonus tip on using the :has() selector to enhance your container query implementations.
Syllabus
- Introduction
- The classic example of container queries: the card
- Container queries can do more!
- The basics of container queries
- Units matter more with container queries
- Because units matter, we can make “smart” layouts
- Little bonus with :has
Taught by
Kevin Powell