cyanxxx / px2rem-plus

Convert px to rem package for Atom.

Home Page:https://atom.io/packages/px2rem-plus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

px2rem+ package

Version Downloads Status Linux & OSX Status Windows Join the chat at https://gitter.im/atom-px2rem-plus/Lobby

Convert px to rem package for Atom. fork from pxrem.

Autocomplete

Convert in buffer

Convert all text or selected text. Using the shortcut ctrl-alt-r.

Settings

Sets the base pixel size of the current file. Using the shortcut ctrl-alt-p.

Comments

Support for adding comments, e.g. /* 100/75 */

Preserve leading zero

Keep the leading zero for converted values < 1. E.g. 0.5rem (preserved) vs .5rem (not preserved)

Two-way Conversion

Support to convert rem to px, using the base pixel size, but only in autocomplete.

Demo

About

Convert px to rem package for Atom.

https://atom.io/packages/px2rem-plus

License:MIT License


Languages

Language:JavaScript 96.5%Language:CSS 3.5%