MiniME - CSS
.css file extension and MiniME will switch into CSS compression mode.
A couple of notes:
You can force CSS mode with the
-csscommand line switch, or the
MinifyKindproperty on the .NET class.
Preserved comments work in CSS minification mode with a leading exclamation point eg:
/*! Keep this comment */
MiniME can combine multiple CSS files into one - just pass multiple input files on the command line.
The default output file name is the same as the first input file with the extension changed to
-linelen:Ncommand line option can be used to insert line breaks.
MiniME's CSS compression algorithm is based exactly on the Isaac Schlueter's CSSMIN. Thanks Isaac.