Why does CSS use selectors?
Short answer
Selectors specify which HTML elements receive styles and let one rule apply in multiple places.
How it works
Complex selectors can affect unintended elements. Stable names and limited scope make styles easier to control.
Key point
The practical point is this: Stable names and limited scope make styles easier to control.