Selector

Noun · Development

Definitions

  1. A pattern used to match and target elements — in CSS for styling, in Objective-C for method dispatch, or in state management libraries for deriving computed values from a store.

    In plain English: A pattern that picks out specific things — like CSS selectors that say which HTML elements get a particular style.

    Example: "The CSS selector .card > h2:first-child targets only direct h2 children of card elements."

Related Terms