The CSS Podcast cover image

61 :has()

The CSS Podcast

00:00

Using Container Queries in CSS for Responsive Design

One of my favorite things in CSS right now is clever ways to do has selection. Like that long list of pseudo classes. Look at these clever and creative ways to use them. It's just amazing. You can make a theme swapper as well. One of my other favorite things to do with has is combine it with container queries. And it's just such an exciting time to be a developer.

Play episode from 12:14
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app