New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-css-sandbox

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

0.0.2
latest
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created

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

Keywords

FAQs

Package last updated on 27 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts