Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Px to rem with scssNew to Visual Studio Code? Get it now.
Px to rem with scss

Px to rem with scss

medzhidov

|
4,190 installs
| (1) | Free
Extension that make adaptive quickly with scss function.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

#Px to rem for VSCode With this extension you can make '18px' to 'rem(18)'. It need if you use sass or scss, where you may be has next function:

    @function rem($pixels){
        @return $pixels / $font_size + rem;
    }

Where $font_size is font size of your html;

Hotkeys

alt+c - convert 10px to rem(10px) and back (of course it's converts #{rem(10px)} inside of "calc" function)

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