Has is a pseudo class that matches if an el ment contains another selector. The most basic, barebones example of this is saying, let's say you wanted to style a paragraph,. You would say, p colon has, and then inside of parentheses, a. So what that saying is we're going to style this p tag if it has an anchor tag. And that we'll find all paragraph tags that have an anchor tag as a child. It can also be used with other unlike sibbling selectors and stuff in here too. In fact, this sounds complex, but we have the the code examples and the show notes. i have em examples along with some h t ml,

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode