postcss-pxtorem
postcss-pxtorem copied to clipboard
When converting negative numbers, the number 0 needs to take units
When the value of left is negative, the conversion result is as shown in the figure, and the number 0 should take the unit.
Process on the return value of the createpxreplace method
@cuth
Same error. After converting, 0px will transform to 0, that will cause error when using it in calc function.
try https://github.com/hemengke1997/postcss-pxtorem 😼
Same here.
Same problem
Fixed in https://github.com/cuth/postcss-pxtorem/pull/106