Tag: CSS pseudo-classes

:nth-last-child()

:nth-last-child() – pseudo-class | Selectors Level 3 The :nth-last-child(an+b) works similar to nth-child() pseudo-class. The difference is that :nth-last-child selects elements from bottom of the parent element. It also accepts the “even” and “odd” values as arguments.

:not(s)

:not(s) – pseudo class, negation It takes simple selector “s” as an argument and matches an element that is not represented by this argument (“s”). Argument “s” must not contain another negation selector.