Socket
Socket
Sign inDemoInstall

postcss-wrap-selector

Package Overview
Dependencies
11
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    postcss-wrap-selector

PostCSS plugin for adding a parent selector to all rules in a css file.


Version published
Weekly downloads
7
increased by250%
Maintainers
1
Install size
1.45 MB
Created
Weekly downloads
 

Readme

Source

postcss-wrap-selector

PostCSS plugin for adding a parent selector to all rules in a css file.

Options

There are two interesting configs about this plugins. The selector option takes a string value that should be placed at the beginning of each selector, including selector lists separated by commas. The skipRootSelector option takes a string or an array, if a selector starts with specified root selector, this selector will be skipped.

{
  "selector": ".parent",
  "skipRootSelector": [".lightblue", ".black"]
}

FAQs

Last updated on 18 Oct 2019

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