a vscode snippet plugin for transform px to percent unit(vw , vh)
NOTE: Please set up your extension configuration before you start using it. Configuration takes effect after reloading.
open your vscode setting, search for CSS-Percent configration
For example:
This extension contributes the following settings:
CSSPercent.designWidth
: The width of your design, usually by your designer. default is1920
.CSSPercent.designHeight
: The height of your design, usually by your designer. default is1080
.CSSPercent.fixedDigits
: Retain decimal places. default is4
.