摘要: async / await MDN 文档:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/await await 表达式会暂停当前 async function 的执行,等待 Promise 处理 阅读全文
posted @ 2021-10-03 21:00 egu0o 阅读(1220) 评论(0) 推荐(0) 编辑
摘要: 定制 hr https://blog.csdn.net/qq_40135955/article/details/89163018 超链接样式 link -> hover -> active -> visited text-decoration: none; https://blog.csdn.net 阅读全文
posted @ 2021-10-03 17:56 egu0o 阅读(25) 评论(0) 推荐(0) 编辑
摘要: flex 弹性布局 传统布局基于 盒装模型,依赖 display属性 + position属性 + float属性 摘要 容器级别 justify-content 主轴上的对齐方式,flex-start(默认)、center、space-between 等 align-items 交叉轴上的对齐方式 阅读全文
posted @ 2021-10-03 16:56 egu0o 阅读(38) 评论(0) 推荐(0) 编辑
摘要: CSS3 属性 box-sizing: border-box 用法 默认情况 框的总宽度:width + padding-left + padding-right + border-left-width + border-right-wdith (border 边距需要在设置了 border-sty 阅读全文
posted @ 2021-10-03 02:21 egu0o 阅读(800) 评论(0) 推荐(0) 编辑