Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VSCode UnitsNew to Visual Studio Code? Get it now.
VSCode Units

VSCode Units

Yasin Kuyu

|
1,882 installs
| (0) | Free
VSCode Inline Units Conversion Extension (px to em /em to px etc.)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Insya VSCode Units

VSCode Inline Units Conversion Extension (px to em / em to px etc.)

Installation

  • Open the VSCode Extension Manager and search for vscode units

Units

%	percentage
in	inch
cm	centimeter
mm	millimeter
em	1em is equal to the current font size. 2em means 2 times the size of the current font. E.g., if an element is displayed with a font of 12 pt, then '2em' is 24 pt. The 'em' is a very useful unit in CSS, since it can adapt automatically to the font that the reader uses
ex	one ex is the x-height of a font (x-height is usually about half the font-size)
pt	point (1 pt is the same as 1/72 inch)
pc	pica (1 pc is the same as 12 points)
px	pixels (a dot on the computer screen)

Using

Hover & Select

Screencast

VSCode Inline Units Conversion Extension

License

The MIT License

Forked https://github.com/yasinkuyu/brackets-units

Created 2019 Yasin Kuyu - @yasinkuyu

Mete & Yaman

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