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

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

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

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

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

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

阅读量:33
阅读量:152
阅读量:141
阅读量:170
阅读量:38
1、打开我们的编辑器。

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

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

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

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

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