Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Smart Design Patterns with Container Queries

Kevin Powell via YouTube

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

Reviews

Start your review of Smart Design Patterns with Container Queries

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.