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.
When switching from a vertical screen to a horizontal screen, the font size is more appropriate to use vmin. So, I add the 'fontViewportUnit' option to individually configure the unit of font.
When switching from a vertical screen to a horizontal screen, the font size is more appropriate to use
vmin
. So, I add the 'fontViewportUnit' option to individually configure the unit of font.