1、搜索安装插件

2.配置设置


cssrem.rootFontSize
root font-size (unit: px), default: 16
这项最重要,这就是根字体大小,默认是16px,即1rem = 16px,可自定义
cssrem.fixedDigits px转rem小数点最大长度,默认:6。
1、搜索安装插件
2.配置设置
cssrem.rootFontSize
root font-size (unit: px), default: 16
这项最重要,这就是根字体大小,默认是16px,即1rem = 16px,可自定义
cssrem.fixedDigits px转rem小数点最大长度,默认:6。
本文标题:VsCode安装cssrem插件实现px转rem
本文链接:https://www.haomeiwen.com/subject/mzalbqtx.html
网友评论