摘要: 常用的伪类选择器 以type结尾的是在相同元素中选择 :first-of-type 第一个子元素 :last-of-type 最后一个子元素 :nth-of-type() 选中第n个元素 选择第几个元素 :nth-of-type(1) // 选择第一个元素 :first-of-type // 选择第 阅读全文
posted @ 2023-08-10 13:56 fengnovo 阅读(6) 评论(0) 推荐(0) 编辑