0.0.2 • Published 5 years ago

gulp-css-sandbox v0.0.2

Weekly downloads
24
License
MIT
Repository
github
Last release
5 years ago

gulp-css-sandbox

NPM version Build Status Coverage Status Dependency Status

A plugin for gulp to sandbox css by prefixing rules with a selector

Usage

First, install gulp-css-sandbox as a development dependency:

npm install --save-dev gulp-css-sandbox

Then, add it to your gulpfile.js:

var css-sandbox = require("gulp-css-sandbox");

gulp.src("./src/*.css")
	.pipe(css-sandbox('#sandbox'))
	.pipe(gulp.dest("./dist"));

API

css-sandbox(prefix)

The prefix you want to attach to the css rules

License

MIT License