Wrap CSS rules in a namespace e.g.
.selector{}
into.namespace .selector {}
npm install postcss-wrap --save-dev
postcsswrap({selector: '.wrap', skip: '.wrap'})
Type: String
Provide a namespace selector in which to wrap CSS.
Type: Regular Expression
or Array of Regular Expressions
Skip selectors from being wrapped. Even if you will not set this option, it will still skip css animation selectors from
, to
and endingWithPercentSymbol%