Length 14:32Mastering :has() to Expand Your CSS Skills
About this video
A CSS tutorial walking through practical uses of the :has() pseudo-class, including theming, styling form hints, counting child elements and conditional-style patterns. It suits developers who already write CSS and want to use the selector in real interfaces.
What you’ll learn
- Use :has() to change a parent's styles based on its children
- Style form hints based on the state of their inputs
- Count child elements to style lists and layouts with CSS alone










