如何使用css指定第n个元素样式
1、打开我们的编辑器。

2、创建一组序列作为示范。

3、first-child就是第一个元素。

4、last-child就是最后一个元素。

5、nth-child(3)就是第三个元素。

6、也可以巧妙地指定偶数。

阅读量:71
阅读量:159
阅读量:167
阅读量:114
阅读量:113
1、打开我们的编辑器。

2、创建一组序列作为示范。

3、first-child就是第一个元素。

4、last-child就是最后一个元素。

5、nth-child(3)就是第三个元素。

6、也可以巧妙地指定偶数。
