aboutsummaryrefslogtreecommitdiff
path: root/node_modules/postcss-unique-selectors/README.md
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2018-11-08 00:38:48 +0800
committerruki <waruqi@gmail.com>2018-11-07 21:53:09 +0800
commit26105034da4fcce7ac883c899d781f016559310d (patch)
treec459a5dc4e3aa0972d9919033ece511ce76dd129 /node_modules/postcss-unique-selectors/README.md
parent2c77f00f1a7ecb6c8192f9c16d3b2001b254a107 (diff)
downloadxmake-docs-26105034da4fcce7ac883c899d781f016559310d.tar.gz
xmake-docs-26105034da4fcce7ac883c899d781f016559310d.zip
switch to vuepress
Diffstat (limited to 'node_modules/postcss-unique-selectors/README.md')
-rw-r--r--node_modules/postcss-unique-selectors/README.md50
1 files changed, 50 insertions, 0 deletions
diff --git a/node_modules/postcss-unique-selectors/README.md b/node_modules/postcss-unique-selectors/README.md
new file mode 100644
index 00000000..c4f9caad
--- /dev/null
+++ b/node_modules/postcss-unique-selectors/README.md
@@ -0,0 +1,50 @@
+# [postcss][postcss]-unique-selectors [![Build Status](https://travis-ci.org/ben-eb/postcss-unique-selectors.svg?branch=master)][ci] [![NPM version](https://badge.fury.io/js/postcss-unique-selectors.svg)][npm] [![Dependency Status](https://gemnasium.com/ben-eb/postcss-unique-selectors.svg)][deps]
+
+> Ensure CSS selectors are unique.
+
+## Install
+
+With [npm](https://npmjs.org/package/postcss-unique-selectors) do:
+
+```
+npm install postcss-unique-selectors --save
+```
+
+## Example
+
+Selectors are sorted naturally, and deduplicated:
+
+### Input
+
+```css
+h1,h3,h2,h1 {
+ color: red
+}
+```
+
+### Output
+
+```css
+h1,h2,h3 {
+ color: red
+}
+```
+
+## Usage
+
+See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
+examples for your environment.
+
+## Contributing
+
+Pull requests are welcome. If you add functionality, then please add unit tests
+to cover it.
+
+## License
+
+MIT © [Ben Briggs](http://beneb.info)
+
+[ci]: https://travis-ci.org/ben-eb/postcss-unique-selectors
+[deps]: https://gemnasium.com/ben-eb/postcss-unique-selectors
+[npm]: http://badge.fury.io/js/postcss-unique-selectors
+[postcss]: https://github.com/postcss/postcss