|
||||
---|---|---|---|---|
.. | ||||
dist | 11e3a9652a | 7 年之前 | ||
node_modules | 11e3a9652a | 7 年之前 | ||
CHANGELOG.md | 11e3a9652a | 7 年之前 | ||
LICENSE-MIT | 11e3a9652a | 7 年之前 | ||
README.md | 11e3a9652a | 7 年之前 | ||
package.json | 11e3a9652a | 7 年之前 |
Ensure CSS selectors are unique.
With npm do:
npm install postcss-unique-selectors --save
Selectors are sorted naturally, and deduplicated:
h1,h3,h2,h1 {
color: red
}
h1,h2,h3 {
color: red
}
See the PostCSS documentation for examples for your environment.
Pull requests are welcome. If you add functionality, then please add unit tests to cover it.
MIT © Ben Briggs