:nth-last-child(3) (selects second child)

foofy
foofy
foofy
foofy

:nth-last-child(0n+1) (selects last child)

foofy
foofy
foofy
foofy

:nth-last-child(1n+0) (selects all)

foofy
foofy
foofy
foofy

:nth-last-child(n+0) (selects all)

foofy
foofy
foofy
foofy

:nth-last-child(n) (selects all)

foofy
foofy
foofy
foofy

:nth-last-child(even) (also tests ':nth-last-child(2n+1)')

foofy
foofy
foofy
foofy

:nth-last-child(odd) (also tests ':nth-last-child(2n)')

foofy
foofy
foofy
foofy

:nth-last-child(1n+3) (selects rows 1-2) (also tests ':nth-last-child(n+3)')

foofy
foofy
foofy
foofy

This should be red

This should be orange

This should be blue

This should be green