caoge c760052ff9 机车状态修改 | пре 8 месеци | |
---|---|---|
.. | ||
dist | пре 8 месеци | |
node_modules | пре 8 месеци | |
LICENSE-MIT | пре 8 месеци | |
README.md | пре 8 месеци | |
package.json | пре 8 месеци |
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