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.
-
Updated
Jun 18, 2024 - JavaScript
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.
Convert pixel units to rem (root em) units using PostCSS
一款 PostCSS 插件,将固定尺寸的视图转为可跟随宽度变化而等比例伸缩的视图。To adapt different displays by one mobile viewport.
Add a description, image, and links to the pixel-units topic page so that developers can more easily learn about it.
To associate your repository with the pixel-units topic, visit your repo's landing page and select "manage topics."