rem-vw-layout
rem-vw-layout copied to clipboard
移动端 REM布局 与 Viewport (VW) 布局的实例运用
**  ** 这里为什么不直接去掉 $blocks, 直接设置成100vw呢? 这样在计算pxtorem的时候 就可以不用再 乘 $blocks了

如果我用rem布局 直接引入你的rem.js rem.css只引入body以及body以上的部分 剩余的样式我不用scss写 我用css写的时候基于750的设计图量出来的尺寸大小除以75 是否可以 ?
在你写的rem布局中,为什么要设置calcMaxWidth = 9999999,还有clientWidth为什么要进行Math.max和Math.min操作呢,直接取html的clientWidth不行吗