px-to-viewport
v1.0.0
Published
A CSS post-processor that converts px to viewport units.
Downloads
8
Maintainers
Readme
px-to-viewport
Based on "postcss-px-to-viewport" and "postcss-pixel-to-viewport" respectively, they combine their advantages and my needs.
params
viewportWidth: 750,
viewportUnit: 'vmin',
propertyBlacklist: [],
minPixelValue: 2,
selectorBlackList: [],
enableConvertComment: 'on',
disableConvertComment: 'off',
mediaQuery: false
Specific role can be found in the above projects