Socket
Socket
Sign inDemoInstall

gulp-css-sandbox

Package Overview
Dependencies
64
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

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


Version published
Maintainers
1
Install size
1.81 MB
Created

Readme

Source

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

Last updated on 27 Nov 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc