CSS selector demo
Item #1
Item #2
Item #3
Item #4
Item #5
Item #6
Item #7
Item #8
#demo li:first-child
#demo li:last-child
#demo li:nth-child(even)
#demo li:nth-child(odd)
#demo li:nth-child(3n)
#demo li:nth-child(3n+1)