Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>tovw Convert css unitNew to Visual Studio Code? Get it now.
tovw Convert css unit

tovw Convert css unit

datnm.qti

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

tovw

Feature

Convert a CSS value into a function-wrapped value

working

Feature list:

  • All => vw
  • All => px
  • All => pw
  • All => rem
  • font-size's value => rem unit

Guideline

Select a piece of code

then, press F1 or ctrl + shift + p and type tovw:

and select the desired command.


How can you add or change border values excluding

By the default, it'll exclude borders having value 1px and 2px.

However, it's able to change the border's value that you want to exclude by changing the tovw.borderIgnores

exclude


Enjoy!

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