@f/css-unitless
1.0.2 • Public • Published
css-unitless

List of unitless css properties
Installation
$ npm install @f/css-unitless
Usage
var unitless = require('@f/css-unitless')
function defaultUnits (key, value) {
if (!unitless[key] && isNumber(value)) {
return value + 'px'
}
return value
}
License
MIT
Keywords
noneInstall
npm i @f/css-unitless
Weekly Downloads