1.1.6 • Published 9 years ago

gulp-rem v1.1.6

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago
  • install
npm install gulp-rem
  • useage

gulp-rem works with hotcss.js

// gulpfile.js
var rem = require('gulp-rem');

gulp.task('build-css', function() {
    return gulp.src('./less/base.less')
    .pipe(plugins.less())
    .pipe(rem({
         width:640,
         unit:'pm'
    }))
    .pipe(plugins.cssmin())
    .pipe(gulp.dest('./css'))
});

//
  • options
{
	width: 640, // Width of the design draft
	unit: 'pm' // 单位为pm的会被转换为rem
}

sorry for my poor english ..

1.1.6

9 years ago

1.1.5

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago