ele:nth-of-type(n) 是指父元素下ele元素里的第n个ele:nth-child(n) 是指父元素下第n个元素且这个元素为ele 转载于:https://www.cnblogs.com/kugeliu/p/6400852.html