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

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

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

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

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

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

阅读量:27
阅读量:108
阅读量:188
阅读量:40
阅读量:30
1、打开我们的编辑器。

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

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

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

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

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