Selectors

  • CSS can target elements based on:
    • Tag
    • Attribute
    • "Position" in the HTML
    • Pseudo-elements
  • Any style can be applied to selected elements
  • Selectors should be stable (no infinite loops)

17 / 20