csCSSc - A Client-Side CSS (De) Compressor
FeaturesCurrently the script performs the following actions on valid CSS-code:
- Optionally, remove all comments: All CSS comment-instructions can be removed, eg. everything between `/*' and `*/'.
- Remove unnecessary white-space: All unnecessary white-space characters are removed. Additionaly, one may choose to remove all newline characters as well, resulting in a single-line file.
- Remove unnecessary value-types: When a value of a property equals `0' (zero), the compressor will remove type-declarations from the value, like `px' and `em'.
Demo: http:/ / www. automotivecenter. nl/ diversen/ utility/ csscompressor/
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)