Skip to content

z-ti/add-rem

Repository files navigation

add-rem

A vscode plugin that append rem to css

用法

  • 实现功能添加(删除)rem,支持快捷键和右键菜单功能
    • 选中对应区域,使用快捷键[cmd+shift+p] 将所选区域的css加上rem
    • 选中对应区域,使用快捷键[cmd+shift+d] 将所选区域的css去掉rem
    • 选中对应区域,右键菜单里,rem action,add rem | delete rem

示例1 css文件选中执行快捷键[cmd+shift+p] 添加rem

Demo

示例2 css文件选中执行快捷键[cmd+shift+d] 删除rem

Demo

About

A vscode plugin that append rem to css

Resources

License

Stars

Watchers

Forks

Packages

No packages published