CSS · Selectors · Junior · Concept
What does :has() enable?
Short Interview Answer
Parent/ancestor selection based on descendants — previously impossible in CSS.
Detailed Explanation
Powerful but can be style-invalidating costly. Use thoughtfully for UI states.