PageRenderTime 45ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/node_modules/css-loader/node_modules/csso/docs/index/index.en.md

https://github.com/vichugunov/testWebPack
Markdown | 47 lines | 33 code | 14 blank | 0 comment | 0 complexity | 876aa3bdc8b630b4c944405c822070d2 MD5 | raw file
Possible License(s): GPL-2.0, BSD-2-Clause, BSD-3-Clause, MIT, 0BSD, Apache-2.0, WTFPL
  1. CSSO (CSS Optimizer) is a CSS minimizer unlike others. In addition to usual minification techniques it can perform structural optimization of CSS files, resulting in smaller file size compared to other minifiers.
  2. # Minification (in a nutshell)
  3. Safe transformations:
  4. * Removal of whitespace
  5. * Removal of trailing `;`
  6. * Removal of comments
  7. * Removal of invalid `@charset` и `@import` declarations
  8. * Minification of color properties
  9. * Minification of `0`
  10. * Minification of multi-line strings
  11. * Minification of the `font-weight` property
  12. Structural optimizations:
  13. * Merging blocks with identical selectors
  14. * Merging blocks with identical properties
  15. * Removal of overridden properties
  16. * Removal of overridden shorthand properties
  17. * Removal of repeating selectors
  18. * Partial merging of blocks
  19. * Partial splitting of blocks
  20. * Removal of empty ruleset and at-rule
  21. * Minification of `margin` and `padding` properties
  22. The minification techniques are described in detail in the [detailed description](/tools/csso/description/).
  23. # Authors
  24. * initial idea&nbsp; Vitaly Harisov (<vitaly@harisov.name>)
  25. * implementation&nbsp; Sergey Kryzhanovsky (<skryzhanovsky@ya.ru>)
  26. * english translation&nbsp; Leonid Khachaturov (<leonidkhachaturov@gmail.com>)
  27. * japanese translation&nbsp; Koji Ishimoto (<ijok.ijok@gmail.com>)
  28. * korean translation&nbsp; Wankyu Kim (<wankyu19@gmail.com>)
  29. # Feedback
  30. Please report issues on [Github] (https://github.com/css/csso/issues).
  31. For feedback, suggestions, etc. write to <skryzhanovsky@ya.ru>.
  32. # License
  33. * CSSO is licensed under [MIT](https://github.com/css/csso/blob/master/MIT-LICENSE.txt)