摘要: 对css的伪类选择器真的是又爱又恨,每次都很完美的被搞混了,还是得做一下总结。 1. :nth-of-type(n) 选择第n个元素 2. :last-of-type 选择最后一个元素 3. :first-of-type 选择第一个元素 4. :nth-child(n) 选择父元素的第n个子元素 5 阅读全文
posted @ 2019-07-29 23:51 笠航 阅读(307) 评论(0) 推荐(0) 编辑