Selectors

  • CSS can target elements based on:
    • tag
    • class
    • id
    • Other attribute(s)
    • "Position" in the HTML
    • Pseudo-elements

16 / 23