Information
Package gulp-px-to-rem
Description px-to-rem plugin for gulp
Node Version >= 0.10
px-to-rem Version >= 1.x
Gulp Version 3.x
Installation
npm install --save-dev gulp-px-to-rem
Basic Usage
var gulp = ;var px2rem = ; gulp;
Options
The options you can use can be found here. Below is a list of valid options as of the time of writing:
- rootPX: base fant size(defalut:75)
- accuracy: Keep the number of decimal digits(defalut:2)
The options is not necessary, it's handled automatically by this plugin.