Skip to content

IanLew/px2rem

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
ui
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Px2rem

Px2rem is a extension for Brackets.

Setting

The root size is 10px, set root size Ctrl+:.

Using

When the cursor is on the value, press Shift+Tab.

Custom

If you don't like the shortcut, you can reset it. Debug -> Open Your Key Map -> Add your convert key in overrides, such as:

{
    "overrides": {
        "<key>": "me.convert.pxrem"
    }
}

That's my keymap.json:

{
    "overrides": {
	"`": "me.convert.pxrem"
    }
}

About

px2rem support to Brackets, convert px to rem or rem to px.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published