【文件属性】:
文件名称:postcss-line-height-px-to-unitless:Postcss插件将px的行高值转换为无单位值
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-03 08:35:01
JavaScript
postcss线高度px到无单位
插件可将px的行高值转换为无单位值。
/ / bef or e
a {
font - size : 16px;
line-height : 26px;
}
/ / after
a {
font - size : 16px;
line-height : 1.63;
}
安装
$ npm i postcss-line-height-px-to-unitless
用法
postcss ( [
require ( 'postcss-line-height-px-to-unitless' ) ( ) ,
...
] )
执照
麻省理工学院
【文件预览】:
postcss-line-height-px-to-unitless-master
----.travis.yml(55B)
----.eslintrc(41B)
----fixture()
--------dist()
--------src()
----index.js(1KB)
----test.js(486B)
----package.json(1KB)
----gulpfile.js(568B)
----.gitignore(1KB)
----CHANGELOG.md(157B)
----README.md(1KB)
----.editorconfig(268B)