🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

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.

1.0.1
latest
Version published
Weekly downloads
4
-20%
Maintainers
1
Weekly downloads
 
Created

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

Package last updated on 18 Oct 2019

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