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

px2SCRem

snailreader

|
57 installs
| (0) | Free
Convert px to rem() in styled component
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

px_to_sc_rem README

Features

This extension convert px value to rem function in styled component selected content.

Usage

  • Install this plugin.
  • Run command with cmd+shift+p and search for px_to_sc_rem.
  • Type you rem transform function name. Ff none or wrong value set, default name would be rem, which means 40px would be converted to ${rem(40)}.
  • It will change px value to rem function automatically.

Enjoy!

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