摘要: 例如: div.image > img:first-child {} 要么: div.image > img:nth-child(1) {} 要么: div > img:first-of-type 注意:nth-​​child()和:first-of-type是CSS3选择器,它们在使用IE时具有一 阅读全文
posted @ 2021-11-23 22:57 web前端小黑 阅读(130) 评论(0) 推荐(0)