Skip to content

Latest commit

 

History

History
98 lines (65 loc) · 3.3 KB

File metadata and controls

98 lines (65 loc) · 3.3 KB

px-rem-reference

A simple px to rem conversion reference chart.

Report bug · Request feature


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

px-rem-reference version npm version

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

Follow on Twitter Github npm Medium LinkedIn

License

By contributing your code, you agree to license your contribution under the MIT License.