nth-of-type & nth-child 的区别 nth-of-type 选择同类型中的第几个 选择p标签中的第一个 当使用class时,是同class中的不同类型的第几个 同一个class中包含了两个类型,所以两个类型的第一个会被标记 nth-child 当前父元素下的第几个