Exercise 205-07-08: Write some :nth-last-child selectors
Example 1 - :nth-last-child(3)
- 12th last child
- 11th last child
- 10th last child
- 9th last child
- 8th last child
- 7th last child
- 6th last child
- 5th last child
- 4th last child
- 3rd last child
- 2nd last child
- Last child
Example 2 - :nth-last-child(3n)
- 12th last child
- 11th last child
- 10th last child
- 9th last child
- 8th last child
- 7th last child
- 6th last child
- 5th last child
- 4th last child
- 3rd last child
- 2nd last child
- Last child
Example 3 - :nth-last-child(3n+1)
- 12th last child
- 11th last child
- 10th last child
- 9th last child
- 8th last child
- 7th last child
- 6th last child
- 5th last child
- 4th last child
- 3rd last child
- 2nd last child
- Last child
Example 4 - :nth-last-child(3n-1)
- 12th last child
- 11th last child
- 10th last child
- 9th last child
- 8th last child
- 7th last child
- 6th last child
- 5th last child
- 4th last child
- 3rd last child
- 2nd last child
- Last child
Example 5 - :nth-last-child(even)
- Even last child
- Odd last child
- Even last child
- Odd last child
- Even last child
- Odd last child
- Even last child
- Odd last child
- Even last child
- Odd last child
- Even last child
- Odd last child
Example 6 - :nth-last-child(odd)
- Even last child
- Odd last child
- Even last child
- Odd last child
- Even last child
- Odd last child
- Even last child
- Odd last child
- Even last child
- Odd last child
- Even last child
- Odd last child