Рет қаралды 43,428
CSS has been cranking out new features left and right recently and one of the coolest features to release recently has been the :has selector. This selector works like a parent selector in CSS, but it much more powerful than a simple parent selector. In this video I talk about how this selector works while also going into multiple advanced real world examples of why this selector is so useful.
📚 Materials/References:
:has Selector Article: blog.webdevsimplified.com/202...
Specificity Video: • Learn CSS Specificity ...
Specificity Article: blog.webdevsimplified.com/202...
🌎 Find Me Here:
My Blog: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:32 - How :has works
03:36 - Real world example #1
05:15 - Real world example #2
06:51 - Real world example #3
09:06 - Advanced :has usage
11:49 - Browser Support
#CSS #WDS #CSSParentSelector