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.99k stars 401 forks source link

`mediaQuery: false` but code is still converted to VW. `mediaQuery: false` 但是 `@media` 下的代码还是被转化成`vw`了 #43

Closed linsanqiu closed 4 years ago

KODerFunk commented 4 years ago

@willanLin 请举一个例子。 1)您的原始CSS代码 2)结果代码 3)配置