2ed2965323f6f0e9c7f2ad07beb90b65dd6a5c9c5cbbe671148d241a15f7b7ca6888e8ef68805bc2fcb1d49eb17b3995a693a3308e214aec24f0007c1b7b70 729 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # [postcss][postcss]-discard-empty
  2. > Discard empty rules and values with PostCSS.
  3. ## Install
  4. With [npm](https://npmjs.org/package/postcss-discard-empty) do:
  5. ```
  6. npm install postcss-discard-empty --save
  7. ```
  8. ## Example
  9. For more examples see the [tests](src/__tests__/index.js).
  10. ### Input
  11. ```css
  12. @font-face;
  13. h1 {}
  14. {color:blue}
  15. h2 {color:}
  16. h3 {color:red}
  17. ```
  18. ### Output
  19. ```css
  20. h3 {color:red}
  21. ```
  22. ## Usage
  23. See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
  24. examples for your environment.
  25. ## Contributors
  26. See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).
  27. ## License
  28. MIT © [Ben Briggs](http://beneb.info)
  29. [postcss]: https://github.com/postcss/postcss