摘要: 1、不管使用的是px,还是百分比,均可通过css3中提供的scale方法,来达到适配多端。 // 屏幕适配 mixin 函数 // * 默认缩放值 const scale = { width: '1', height: '1', } // * 设计稿尺寸(px) const baseWidth = 阅读全文
posted @ 2023-01-04 19:47 深巷漫步 阅读(1131) 评论(0) 推荐(0) 编辑
/* 看板娘 */