← All Tools
CSS :nth-child() Tester
Visualize which elements match your :nth-child(), :nth-last-child(), and :nth-of-type() selectors.
Selector type
:nth-child()
:nth-last-child()
:nth-of-type()
:nth-last-of-type()
Expression
Items
odd
even
2n+1
3n
3n+1
4n-1
-n+3
-n+5
n+4
5
Total items
24
Matched
0
Match indices
—