09 2021 档案

摘要:####css中first-child、last-child不生效查看引用的是否正确;使用li:first-of-type只选中为li的伪元素 阅读全文
posted @ 2021-09-09 18:43 网名想好了 阅读(263) 评论(0) 推荐(0)
摘要:###es6中的new Set()属性 es6中提供了new Set()这个属性,是一个类数组的形式new Set(),在这个属性中值没有重复值的存在 方法 var arr = new Set([1,2,3) 长度 console.log(arr.size) // 3 添加 arr.add(4) / 阅读全文
posted @ 2021-09-08 18:55 网名想好了 阅读(216) 评论(0) 推荐(0)