• Basic Selectors
    • * (Universal Selector)
    • element (Element Selector)
    • .class (Class Selector)
    • #id (ID Selector)
  • Combinators
    • A B (Descendant Selector)
    • A > B (Child Selector)
    • A + B (Adjacent Sibling Selector)
    • A ~ B (General Sibling Selector)
  • Attribute Selectors
    • [attr] (Elements with a specific attribute)
    • [attr=value] (Exact match)
    • [attr^=value] (Starts with)
    • [attr$=value] (Ends with)
    • [attr*=value] (Contains)
  • Pseudo-classes
    • :hover (Hover state)
    • :focus (Focus state)
    • :nth-child(n) (N-th child)
    • :not(selector) (Negation)
  • Pseudo-elements
    • ::before (Inserts content before an element)
    • ::after (Inserts content after an element)
    • ::first-letter (Styles the first letter)
    • ::first-line (Styles the first line)