A plugin for PostCSS that generates viewport units (vw, vh, vmin, vmax) from pixel units. The best choice to create a scalable interface on different displays by one design size.
propList (Array) The properties that can change from px to rem.
Values need to be exact matches.
Use wildcard to enable all properties. Example: ['']
Use at the start or end of a word. (['position'] will match background-position-y)
Use ! to not match a property. Example: ['', '!letter-spacing']
Combine the "not" prefix with the other prefixes. Example: ['', '!font']
link https://www.npmjs.com/package/postcss-pxtorem
propList (Array) The properties that can change from px to rem. Values need to be exact matches. Use wildcard to enable all properties. Example: [''] Use at the start or end of a word. (['position'] will match background-position-y) Use ! to not match a property. Example: ['', '!letter-spacing'] Combine the "not" prefix with the other prefixes. Example: ['', '!font']