Assignment 9: Color
In addition to using a single selector, developers can also chain selectors to increase the specificity of their request.
You can create a direct chain in CSS that tells the browser to grab a specific element. To do this, you simply place selectors together, without any spaces.
In the following example, the rule tells the browser to select all paragraph (
<p>) elements with the class “styled”.
NOTE: The use of the dot (
.) in the class selector.