摘要: 介绍两种移动端适配方案 1. rem为主 设置根节点字体大小,页面元素都使用scss表达式将px转换为rem // 在scss中 $mainSize:20px; html{font-size:$mainSize;} @function f($px){ @return $px/$mainSize/2* 阅读全文
posted @ 2017-08-01 13:12 we are young 阅读(360) 评论(0) 推荐(0) 编辑