XuelesszzZ 94af2b8e7b 6-30-5 | il y a 1 an | |
---|---|---|
.. | ||
dist | il y a 1 an | |
node_modules | il y a 1 an | |
LICENSE-MIT | il y a 1 an | |
README.md | il y a 1 an | |
package.json | il y a 1 an |
Normalize strings with PostCSS.
With npm do:
npm install postcss-normalize-string --save
p:after{ content: '\\'string\\' is intact' }
p:after{ content:"'string' is intact" }
See the PostCSS documentation for examples for your environment.
Type: string
Default: double
Sets what type of quote to prefer. Possible values are single
and double
.
var css = 'p:after{content:""}';
console.log(postcss(normalize({preferredQuote: 'single'})).process(css).css);
//=> p:after{content:''}
See CONTRIBUTORS.md.
MIT © Ben Briggs