1/*The adjacent sibling combinator (+) separates two
2selectors and matches the second element only if
3it immediately follows the first element, and
4both are children of the same parent element.*/
5
6li:first-of-type + li {
7 color: red;
8}
9
10<ul>
11 <li>One</li> // The sibling
12 <li>Two</li> // This adjacent sibling will be red
13 <li>Three</li>
14</ul>
1/* Paragraphs that come immediately after any image */
2img + p {
3 font-weight: bold;
4}