ydui-rem2px

1.0.1 • Public • Published

This is a gulp plugin for ydui's rem2px.

Installation

Run npm install ydui-rem2px

Usage

var rem2px = require('ydui-rem2px');
 
gulp.task('css', function () {
    gulp.src(['css/**/*.css'])
        .pipe(rem2px())
        .pipe(gulp.dest('css'));
});

Options

Pass in the base size as Number

var rem2px = require('ydui-rem2px');
 
var baseSize = 100;
 
gulp.task('css', function() {
    gulp.src('css/**/*.css')
        .pipe(rem2px(baseSize))
        .pipe(gulp.dest('css'));
});

This plugin is basically a clone of the inverse counterpart which is gulp-rem2px: gulp-rem2px by Patrik Powalowski

License

MIT © 2016 YDCSS Inc.

install

npm i ydui-rem2px

Downloadsweekly downloads

19

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability