Skip to content

🔁 A VS Code extension that converts px to rem in your .css and .scss file

License

Notifications You must be signed in to change notification settings

reizt/vscode-px-to-rem

Repository files navigation

VSCode px to rem

This is a VSCode extension that just converts px in CSS to rem.

You can also format on save.

The values you can set in the settings.json are down below.

  • px-to-rem.pxPerRem: number

    the px -> rem conversion rate.

    Example: when the value is 10, 10px will be replaced with 1rem.

  • px-to-rem.formatOnSave: boolean

    When true, all the px parts in the active file will be replaced to rem soon after your save the file.

About

🔁 A VS Code extension that converts px to rem in your .css and .scss file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published