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

feat:change viewportWidth support function #117

Open choukin opened 2 years ago

choukin commented 2 years ago

change viewportWidth support function

MingxiangFeng commented 2 years ago

Yes, please update as soon as possible

wswmsword commented 1 year ago

试试看我写的库,可以传递函数,同时可以限制最大宽度,postcss-mobile-to-multi-displays