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

YouTube

Container Queries Are Possible

Kevin Powell via YouTube

Overview

Explore a groundbreaking CSS technique that replicates container queries using a clever combination of flex-wrap, flex-basis, and flex-grow. Discover how Heydon Pickering's "Holy Albatross" method enables responsive layouts without traditional media queries. Learn to implement this powerful approach step-by-step, from basic setup to advanced applications, and understand its potential to revolutionize web design. Gain insights into flex properties, negative flex-basis, and precise sizing control while seeing practical examples of this technique in action.

Syllabus

- Introduction

- basic setup

- understanding flex-wrap

- understanding flex-basis

- understanding flex-grow and shrink

- putting them all together

- negative flex-basis

- no media query required

- getting it working at a precise size

- the true power of it

- outro

Taught by

Kevin Powell

Reviews

Start your review of Container Queries Are Possible

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.