Lessons: 4Length: 35 minutes

Next lesson playing in 5 seconds

Cancel

Introduction to CSS Container Queries

Welcome to the Course

03:04

To make a website responsive, we traditionally use media queries, a practice that's been around for years but that sometimes has its drawbacks. To fix some of those problems, we can now use “container queries”. Even though they’re not yet supported by all browsers, they have a bright future ahead, and we should learn how to use them today.

In this course, you’ll learn what container queries are all about and how to use them to create elements that change depending on the size of their parent.