The CSS Podcast cover image

61 :has()

The CSS Podcast

00:00

How to Style Your Way With Usable Fonts

You can select figures that have a big captions by using figure colon has open parentheses, fig caption and the parentheses. So similarly, there's card has image. You could have a card and then check if it has an image. It's really, really convenient to style things that you want to kind of give them equal weight, but they have different children.

Play episode from 03:37
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