# 61 :has()

> Episode of [The CSS Podcast](https://podistic.com/podcast/the-css-podcast.md) · Published October 18, 2022 · Duration 23:06

- **Listen on Podistic:** https://podistic.com/episode/61-has
- **Audio:** https://traffic.libsyn.com/secure/thecsspodcast/TCP061_Has_v2.mp3?dest-id=1891556 (audio/mpeg)

## About this episode

:has() is a new CSS selector which allows developers to query for the presence of a child or state. It has been called the "parent selector", but it's much more than that! Using :has() you can style up and down a DOM tree, making this an incredible powerful feature. Learn how to take advantage of this new API with lots of examples in this episode.

**Links**

*   Blog → [https://goo.gle/3CIs1EF](https://goo.gle/3CIs1EF) 
*   Selectors → [https://goo.gle/3EQsPde](https://goo.gle/3EQsPde) 
*   Pseudo-classes → [https://goo.gle/3SgvH69](https://goo.gle/3SgvH69) 
*   Creative CSS Layout → [https://goo.gle/3yRv4sZ](https://goo.gle/3yRv4sZ) 
*   Quantity Queries for CSS → [https://goo.gle/3a4NPwT](https://goo.gle/3a4NPwT) 

 

**Una Kravets (co-host)**

[Twitter](https://twitter.com/Una) | [Instagram](http://instagram.com/unakravets) | [ YouTube](https://www.youtube.com/channel/UCJnidRIv3o1hf_YBWjKFljg)

Making the web more colorful ✨🎨  Web DevRel [@googlechrome](https://twitter.com/googlechrome) Unicorn face host of [@toolsday](https://twitter.com/toolsday) \& [ Designing in the Browser](https://www.youtube.com/redirect?q=https%3A%2F%2Fgoo.gle%2F2NeLxjI\&redir_token=AscWoOrD6kypj4tT8So-xP1HNPN8MTU4MjgzODAwM0AxNTgyNzUxNjAz\&event=video_description\&v=Irp6R69pZGA) 🎬 

**Adam Argyle (co-host)**

[Twitter](https://twitter.com/argyleink) | [Instagram](https://www.instagram.com/argyleink/) | [YouTube](https://a.nerdy.dev/youtube)

[@GoogleChrome](https://twitter.com/GoogleChrome) CSS DevRel; [@CSSWG](https://twitter.com/CSSWG); [VisBug](https://a.nerdy.dev/gimme-visbug) maker; punk; CSS/JS/UX addict; 💀🤘

 

Catch more episodes → [https://goo.gle/CSSpodcast](https://goo.gle/CSSpodcast) 

Subscribe to Google Chrome Developers → [https://goo.gle/ChromeDevs](https://goo.gle/ChromeDevs) 

**The CSS Podcast**

#CSSpodcast
