0.1.0 • Published 11 years ago
gulp-css-prefix v0.1.0
gulp-css-prefix
Simple gulp plugin/wrapper around css-prefix
Installation
npm install --save-dev gulp-css-prefixUsage
var gulp = require('gulp'),
cssPrefix = require('gulp-css-prefix');
gulp.task('build-css', function() {
return gulp.src('./static/css/*.css')
.pipe(cssPrefix('RAWR-'))
.pipe(gulp.dest('./dist/'))
});Options
See css-prefix options as the record of truth.
For convenience:
prefix- Insert this string before every class and id in the css source string srcelementClass- add this class to all element identifiersparentClass- add an ancestor class to every ruleparentId- add an ancestor id to every rule (not yet, hopefully in v0.0.3)
0.1.0
11 years ago