Postcss plugin to convert a line-height value with px to a unitless value.
// before
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')(),
...
])
MIT