:has() opens up new possibilities with CSS

The :has() pseudo-class is here, and while it’s often called the parent selector, it can actually do a lot more than that! 🔗 Links ✅ Example One: ✅ Example Two: ✅ Example Three: ✅ Example Four: ✅ Browser support: ✅ scale, rotate, and translate properties: ✅ Jhey’s fantastic article with more examples: ✅ Multiple h1 not supported: ✅ My video on selectors and combinators: ⌚ Timestamps 00:00 - In ... #Kevin_Powell #css #front-end #frontend #html #tutorial #css_has_selector #css_has_pseudo-class #css_has 20220915 OGJvhpoE8b4
Back to Top