Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Descendant Selectors

CSS lets you target elements based on their relationships in the HTML document. For example, you can combine selectors to create a "descendant selector" that targets an element that is a descendant of another element. This makes selectors more specific.

For instance, in the following HTML code, notice the <span> tag nested inside the <header> tag:

<header>
  <h1>The Main Hea...