CSS ⟩ selectors ⟩ combinators
A, B /* A or B */ A.B /* A (with class B) */ A B /* B (descendent of A) */ A > B /* B (direct child of A) */ A + B /* B (next sibling of A) */ A ~ B /* B (following sibling of A) */
select direct children by JS
CSS ⟩ Next-sibling combinator
Last updated 4 days ago