px-rem-reference
v1.3.6
Published
A simple px to rem conversion reference chart
Downloads
18
Readme
Table of contents
Quick start
A couple quick start options are available:
- Install with npm:
npm i px-rem-reference --save-dev
. - Install with yarn:
yarn add px-rem-reference --dev
.
Status
What's included
px-rem-reference
is a simple converstion reference chart. Within the download you'll find the following directories and files:
px-rem-reference
└── px-rem-reference.md
Usage
Install the package.
npm i px-rem-reference --save-dev
There are two ways to use px-rem-reference
:
- Visit the px-rem-reference on GitHub quick reference, then copy/paste values from the web page.
- Open
px-rem-reference.md
in your text editor, then copy/paste values from the file.
Conversion table
The px
to rem
conversions are based off of the typical browser default
root font-size
of 16px
. Therefore, 1rem
is equal to 16px
.
Quick links
Maintainers
Guy Lepage
License
By contributing your code, you agree to license your contribution under the MIT License.