nth-child(n)和nth-of-type(n)比较 代码 效果 nth-child(n)和nth-of-type(n)选择方式 注意: nth-child(n)和nth-of-type(n):选择的下标是从1开始 关于两个伪类的n取值(可为表达式): 相关文章: