px2rem NuGet Package

一、基准字号设置:
1、读取当前编辑文件中的 html{ font-size } 小节作为基准
2、读取C:\px2rem\setting.json 配置中的设置基准,如:{"BaseSize":16.0,"Disabled":false}
3、没有 html font-size 小节,也没有setting.json,则默认基准为 16px

二、设置命令:
1、0pre 关闭px2rem
2、1pre 激活px2rem
3、2pre 将设置写入到setting.json
4、3pre 设定用户输入优先,并存储设置到文件
5、4pre 设定计算值优先,并存储设置到文件 .




Got any px2rem Question?





Info

Version: 1.0.1
Author(s): 王的强
Last Update: Monday, August 14, 2017
.NET Fiddle: Create the first Fiddle
Project Url: https://marketplace.visualstudio.com/items?itemName=vs-publisher-90972.px2rem
NuGet Url: https://www.nuget.org/packages/px2rem


Install
Install-Package px2rem
dotnet add package px2rem
paket add px2rem
px2rem Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.8

avg-downloads-per-day

0

days-since-last-release

2446