Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>pt2remNew to Visual Studio Code? Get it now.
pt2rem

pt2rem

pt2rem

|
105 installs
| (0) | Free
pt2rem
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

pt2rem

简单的数字转换 默是 {num}*20/375 就是按微信小程序 20rem 然后设计稿 375

自定义

可以在pt2rem 自己添加 计算方式

"pt2rem.enabled": true, "pt2rem.types": { "pt2test1": { "after": "rpx", "cal": "{num}*1" } }

kewword

pt2rem

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft