随笔分类 -  rem

摘要:在安装cube-ui框架时 安装成功后在【E:\WWW\xxx\node_modules\vue-cli-plugin-cube-ui\generator\rem\index.js】修改remUnit值为100 在【E:\WWW\xxx\node_modules\amfe-flexible\inde 阅读全文
posted @ 2018-12-04 22:02 Du.Du 阅读(6282) 评论(1) 推荐(1)
摘要:rem 的根标签是html 以html标签上设置的font-size的值为参考点 如: <div id="app"> <div id="son></div> </div> html{ font-size:20px; } #app{ width :4rem; >4*20=80px } #son { w 阅读全文
posted @ 2018-11-29 21:04 Du.Du 阅读(3795) 评论(0) 推荐(0)