:nth-child
:nth-child(n) : n번째 선택
:nth-child(n)
:nth-child(2n) : 2번째마다(2의배수) 선택
:nth-child(2n)
:first-child : 부모안에 모든 요소 중 첫번째 요소
:first-child
:last-child : 부모안에 모든 요소 중 마지막 요소
:last-child
:nth-child(odd) : 홀수 선택
:nth-child(odd)
:nth-child(even) : 짝수 선택
:nth-child(even)
div:nth-of-type(n)
div