选择指定的子级元素:div>p:nth-child(1) {}
选择指定的多少倍数个的子级元素:div>p:nth-child(3n) {}
选择奇数个:div>p:nth-of-type(odd) {}
选择偶数个:div>p:nth-of-type(even) {}
除开第一个:div>p:not(:first-child) {}
除开最后一个:div>p:not(:last-child) {}
选择指定的子级元素:div>p:nth-child(1) {}
选择指定的多少倍数个的子级元素:div>p:nth-child(3n) {}
选择奇数个:div>p:nth-of-type(odd) {}
选择偶数个:div>p:nth-of-type(even) {}
除开第一个:div>p:not(:first-child) {}
除开最后一个:div>p:not(:last-child) {}