2022年1月19日

grid布局

摘要: 参考 https://www.cnblogs.com/jwyblogs/p/11757968.html https://www.ruanyifeng.com/blog/2019/03/grid-layout-tutorial.html 阅读全文
posted @ 2022-01-19 18:11 文仲玉 阅读(33) 评论(0) 推荐(0)

BFC和IE的hasLayout

摘要: https://www.cnblogs.com/xiaohuochai/p/4845314.html https://www.cnblogs.com/5huihui/p/4309971.html 阅读全文
posted @ 2022-01-19 18:03 文仲玉 阅读(16) 评论(0) 推荐(0)

CSS attr()函数、var()函数

摘要: ###attr函数 <style> #baidu::after{ /* 获取href属性值 */ content: "("attr(href)")"; } </style> <a id="baidu" href="https://www.baidu.com">百度</a> ###var函数 <sty 阅读全文
posted @ 2022-01-19 15:23 文仲玉 阅读(117) 评论(0) 推荐(0)

数组API

摘要: 方法 描述 concat() 连接两个或多个数组,并返回已连接数组的副本。 copyWithin() 将数组中的数组元素复制到指定位置或从指定位置复制。 entries() 返回键/值对数组迭代对象。 every() 检查数组中的每个元素是否通过测试。 fill() 用静态值填充数组中的元素。 fi 阅读全文
posted @ 2022-01-19 09:41 文仲玉 阅读(25) 评论(0) 推荐(0)

字符串API

摘要: 方法 描述 charAt() 返回指定索引位置的字符 charCodeAt() 返回指定索引位置字符的 Unicode 值 concat() 连接两个或多个字符串,返回连接后的字符串 fromCharCode() 将 Unicode 转换为字符串 indexOf() 返回字符串中检索指定字符第一次出 阅读全文
posted @ 2022-01-19 09:36 文仲玉 阅读(38) 评论(0) 推荐(0)