返回顶部
摘要: 下面我将用几个典型的实例来给大家讲解:nth-child的实际用途: Tips:还用低版本的IE浏览器的哥们请绕过! :nth-child(2)选取第几个标签,“2可以是你想要的数字” .demo01 li:nth-child(2){background:#090} :nth-child(n+4)选 阅读全文
posted @ 2020-08-25 20:24 fen斗 阅读(1813) 评论(0) 推荐(0) 编辑
摘要: 1、border-left 作用:设置左边框的样式:(所有浏览器都支持 border-left 属性) (1)可以简单的把所有的左边框的属性写到一个属性中: border-left:thick double #ff0000; border-left 后的第一个参数:指定线的宽度、风格、颜色 ,上面的 阅读全文
posted @ 2020-08-25 09:57 fen斗 阅读(5221) 评论(0) 推荐(0) 编辑