pxtorem

A package that turn your pixels text into rem

w3cay

249

2

0.1.3

MIT

GitHub

This package provides the following services:

pxtorem License

A package that turn your pixels text into rem. origin from px2rem

A screenshot of your package

Install

With apm:

apm install pxtorem

Or Settingss ➔ Packages ➔ Search for pxtorem

Options

addMark:true Add origin pixel value like /* 100/75 */

baseSize:75 This will change the base size to convert px to rem

Precision:2 The number of digits to the right of the decimal point