Irina Glushko 2389e7160b HW1 done | преди 3 години | |
---|---|---|
.. | ||
dist | преди 3 години | |
node_modules | преди 3 години | |
LICENSE-MIT | преди 3 години | |
README.md | преди 3 години | |
package.json | преди 3 години |
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