first:
Get the first item
[&:nth-child(3n)]:
Get every 3rd element
[&:nth-last-child(3n)]:
Get every 3rd item from the end
[&:nth-child(3n+1)]:
Get every 3rd item, starting from the first
[&:nth-last-child(3n+1)]:
Get every 3rd item from the end, starting from the first
[&:nth-child(3n-1)]:
Get every 3rd item, starting from the second
[&:nth-last-child(3n-1)]:
Get every 3rd item from the end, starting from the second
[&:nth-child(3)]:
Get the 3rd element
[&:nth-last-child(3)]:
Get the 3rd to last item
[&:nth-child(-n+3)]:
Get the first 3 elements
[&:nth-last-child(-n+3)]:
Get the last 3 elements
[&:nth-child(n+3)]:
Get all items starting from the 3rd
[&:not(:nth-last-child(-n+2))]:
Get all items except the first 2, starting from the end
[&:nth-child(n+3):nth-last-child(n+3)]:
Get items in a range between third and third-to-last
[&:nth-child(-n+3)]:
[&:nth-last-child(-n+3)]:
Get all items except the ones between the third and third-to-last