Explore the game-changing possibilities of the :has() pseudo-class in CSS through this informative video tutorial. Discover how to implement easier theming, prevent scrolling when a modal is open, create form hints, count child elements, and even simulate if/else conditions. Gain practical insights with code examples and learn how to leverage this powerful feature to enhance your web development skills.
Overview
Syllabus
- Introduction
- Easier theming
- Prevent scrolling when modal is open
- Form hints
- Counting child elements
- If / Else… sort of
Taught by
Kevin Powell