postcss-px-to-viewport
postcss-px-to-viewport copied to clipboard
How do I dynamically modify the ViewPortWidth configuration?
How do I dynamically modify the ViewPortWidth configuration? I want to dynamically modify the RPX ratio to dynamically modify the font size
I would also like to know. So for instance I'd like to use a base ViewPortWidth of 1920px
, but at @media (max-width: 992px)
i'd like to use 992px
as ViewPortWidth.
try https://github.com/hemengke1997/postcss-pxtoviewport