You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
691 B

4 years ago
  1. # [postcss][postcss]-minify-selectors
  2. > Minify selectors with PostCSS.
  3. ## Install
  4. With [npm](https://www.npmjs.com/package/postcss-minify-selectors) do:
  5. ```
  6. npm install postcss-minify-selectors --save
  7. ```
  8. ## Example
  9. ### Input
  10. ```css
  11. h1 + p, h2, h3, h2{color:blue}
  12. ```
  13. ### Output
  14. ```css
  15. h1+p,h2,h3{color:blue}
  16. ```
  17. For more examples see the [tests](test.js).
  18. ## Usage
  19. See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
  20. examples for your environment.
  21. ## Contributors
  22. See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).
  23. ## License
  24. MIT © [Ben Briggs](http://beneb.info)
  25. [postcss]: https://github.com/postcss/postcss