摘要: 对于前端项目而言,适配是很重要的,而且有时候也是一个令人比较头疼的问题。适配方案之一是使用rem,这里简单总结记录下有关px自动转rem的两个插件。 postcss-px2rem-exclude 将样式文件中的px自动转为 rem。执行命令: npm install postcss-px2rem-e 阅读全文
posted @ 2021-09-26 22:00 攻城Alone 阅读(1509) 评论(0) 推荐(0)