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
3k stars 405 forks source link

merge pull 7 and support unitToConvert #9

Closed njleonzhang closed 5 years ago

njleonzhang commented 5 years ago

indicate the unit to convert, so that we can adopt this plugin in existing project which has us px as a normal unit, not want to convert.

njleonzhang commented 5 years ago

@KODerFunk fixed following your suggestion.

njleonzhang commented 5 years ago

Tnx, any plan to release a new version?