evrone / postcss-px-to-viewport

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.
https://evrone.com/postcss-px-viewport
MIT License
2.98k stars 401 forks source link

希望能支持CSS预处理器 #133

Open jyzhchwang opened 2 years ago

jyzhchwang commented 2 years ago

我用的vue+sass,/ px-to-viewport-ignore-next /以及/ px-to-viewport-ignore /均不能在sass里使用,纯css可以。希望能支持预处理器

wx85745997 commented 1 year ago

PX大写就不会被转了

iron2column commented 1 year ago

PX大写就不会被转了

确实有用。(但需要注意是属性值的px大写,不是注释大写,不要问我是怎么会错意的 :D )

cvpv commented 1 year ago

Code Formatter will fix the.not working!