postcss-px-to-viewport icon indicating copy to clipboard operation
postcss-px-to-viewport copied to clipboard

How do I dynamically modify the ViewPortWidth configuration?

Open Wuou opened this issue 3 years ago • 2 comments

How do I dynamically modify the ViewPortWidth configuration? I want to dynamically modify the RPX ratio to dynamically modify the font size

Wuou avatar Apr 25 '21 03:04 Wuou

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.

christianlemmers avatar May 06 '21 20:05 christianlemmers

try https://github.com/hemengke1997/postcss-pxtoviewport

hemengke1997 avatar Aug 26 '22 09:08 hemengke1997