DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
CSS Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
CSS
What could CSS NOT do before `:has()` was introduced?
A
Select elements by class name
B
Select an ancestor element based on whether it contains a specific descendant, or a sibling based on what follows it
C
Use media queries
D
Apply hover states
Check Answer