# 714: CSS :has() in Every Browser! 10 Uses

> Episode of [Syntax - Tasty Web Development Treats](https://podistic.com/podcast/syntax-tasty-web-development-treats.md) · Published January 8, 2024 · Duration 30:27

- **Listen on Podistic:** https://podistic.com/episode/714-css-has-in-every-browser-10-uses
- **Audio:** https://traffic.megaphone.fm/FSI4917364245.mp3?updated=1749229444 (audio/mpeg)

## About this episode

CSS :has() is out in all browsers and Wes and Scott have got the top 10 reasons you should start using :has() now.
 Show Notes   00:25 Welcome
  02:28 Syntax Brought to you by Sentry
  03:02 Overview of :has
  07:09 The anywhere selector
  09:41 Previous element
  12:59 Layout targetting
  15:45 Form validation styling
  17:51 All siblings
  21:07 Quantity queries
  24:19 Empty children
  24:56 Nested dropdown navs
  26:36 Attribute matching
   Hit us up on Socials!  Syntax: X Instagram Tiktok LinkedIn Threads
  Wes: X Instagram Tiktok LinkedIn Threads
  Scott: X Instagram Tiktok LinkedIn Threads
