HTML5技术 :nth-of-type(1)给第几个加样式 括号里边就是第几 :nth-of-type(1) 给第几个加样式 括号里边就是第几。 比如: nav ul li:nth-of-type(2){ } //为第二个li标签增加样式为xxx ...