Selector Combinations

SyntaxExampleExplanation
A Bli aSelect all Bs that are descendants of A
AB.class1.class2A and B
A, B.class1, .class2A or B
A > Bli > aSelect all Bs that are direct child of A
A + B.class1 + .class2Select the B which is immediately preceded by A
A ~ Bul ~ div(Sibling) Select B which following a A