Skip to content

Solving container queries today

We all are looking out for the potion which magically let an HTML element adapt based on the dimensions of it’s parent element. Some call it, container queries. Sigh, like all magical stuff it doesn’t exist, at least today.

But, a wizard of the web—Greg Whitworth—in his talk at CSS Day 2018, shows us how to solve the problems using the means available today on the browsers, iframe, modern layouts, Resize Observer and Intersection Observer.

Greg Whitworth, ‘Solving container queries today’, CSS Day 2018


1 Like

I’ll be available for long-term projects from July 2023. Meanwhile, open for smaller projects.

Get in touch