Browse Source

增加页面字体调整选项,增加功能腾出空间

pull/46/head
Lawrence 4 years ago
parent
commit
fc3e633d62
  1. 6
      web_src/.postcssrc.js

6
web_src/.postcssrc.js

@ -5,6 +5,10 @@ module.exports = {
"postcss-import": {}, "postcss-import": {},
"postcss-url": {}, "postcss-url": {},
// to edit target browsers: use "browserslist" field in package.json // to edit target browsers: use "browserslist" field in package.json
"autoprefixer": {} "autoprefixer": {},
'postcss-pxtorem': {
rootValue: 24,
propList: ['font-size'] // 只转化font-size
}
} }
} }

Loading…
Cancel
Save