摘要: //当前页面的高度100vh - 8rem;height:calc(100vh - 8rem); //当前页面的宽度100vh - 8rem;width: calc(100vw - 4rem); 转自:https://www.runoob.com/cssref/css-units.html 单位描述 阅读全文
posted @ 2020-12-31 18:03 涓河樵 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/xiaomili/p/10522566.html /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar{ width: 7px; height: 7px; background-color: #F5F 阅读全文
posted @ 2020-12-31 17:57 涓河樵 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 0、相关知识:http://www.ruanyifeng.com/blog/2019/03/grid-layout-tutorial.html 1、样式 .ice-page { display: grid; grid-template-columns: 4rem auto; } .ice-conta 阅读全文
posted @ 2020-12-31 14:26 涓河樵 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 0、前情提要:原文:Angular 11 中使用 Tailwind CSS - 简书 (jianshu.com) 1、新建项目 ng new ice-app 2、常用操作 运行 npm start ng serve ng serve --port 4600 打包 npm run build npm 阅读全文
posted @ 2020-12-31 12:14 涓河樵 阅读(596) 评论(0) 推荐(0) 编辑