rem-vw-layout icon indicating copy to clipboard operation
rem-vw-layout copied to clipboard

移动端 REM布局 与 Viewport (VW) 布局的实例运用

Results 4 rem-vw-layout issues
Sort by recently updated
recently updated
newest added

** ![image](https://user-images.githubusercontent.com/28584619/148527909-22f9d8ce-cb3d-40d0-977d-d42c23f346ef.png) ** 这里为什么不直接去掉 $blocks, 直接设置成100vw呢? 这样在计算pxtorem的时候 就可以不用再 乘 $blocks了

![image](https://user-images.githubusercontent.com/22699483/145188322-b5157765-a20c-4a45-beb6-1b2d71514d7c.png)

如果我用rem布局 直接引入你的rem.js rem.css只引入body以及body以上的部分 剩余的样式我不用scss写 我用css写的时候基于750的设计图量出来的尺寸大小除以75 是否可以 ?

在你写的rem布局中,为什么要设置calcMaxWidth = 9999999,还有clientWidth为什么要进行Math.max和Math.min操作呢,直接取html的clientWidth不行吗