Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
What we’re really missing is a way to tell CSS that we want to only select elements that descend from certain elements, which is kinda like specifying that you only want your inheritance to go to the children of one daughter or son. Here’s how you write a descendant selector.
Now the only problem with this rule is that if someone created another <div> in the “lounge.html” file, they’d get black <h2> text, even if they didn’t want it. But we’ve got an id on the elixirs <div>, so let’s use it to be more specific about which descendants we want: