2020年12月29日

nth-child的运用

摘要: CSS3 :nth-child() 选择器 1、下面的语句表示选择someOnediv下的第二个li标签 .someOnediv li:nth-child(2){background:#090} 2、下面的语句表示选择某一同名集合class中的第二个(scss样式中较常见) ... &:nth-ch 阅读全文

posted @ 2020-12-29 09:00 zhishiyv 阅读(140) 评论(0) 推荐(0) 编辑

导航