Adjacent sibling combinator

The + between selectors: matches the element right after another.

What is the adjacent sibling combinator?

The adjacent sibling combinator + picks an element that comes straight after another, with the same parent.

h2 + p { font-size: 1.2em; }   /* the first paragraph right after a heading */

Level: Novice · More CSS terms at this level

Updated