CSS :has() is the parent selector we’ve always wanted 🎯 Target elements based on what they contain, not just their own state. ⋅ Style a form when it has an error input ⋅ Add spacing to any element with children ⋅ Combine with :not() Learn more 👇 developer.mozilla.org/en-US/docs/...
5 reposts44 likes