对于p:nth-child选择器,选择一个元素如果:
:nth-child
对于p:nth-of-type选择器,选择一个元素如果:
:nth-of-type
:nth-of-type选择器,限制条件少
CSS3选择器:nth-child和:nth-of-type之间的差异
原文:http://www.cnblogs.com/sunxirui00/p/7560461.html