Man pages sections > man1 > cssmin

cssmin - YUI Cascading Style Sheet (CSS) compressor

CSSMIN(1) User Commands CSSMIN(1)


cssmin - YUI Cascading Style Sheet (CSS) compressor


cssmin [ --wrap N]


Reads raw CSS from stdin, and writes compressed CSS to stdout.


show program's version number and exit
-h, --help
show this help message and exit
-w N, --wrap=N
Wrap output to approximately N chars per line.


To combine several CSS files into one compressed output:
cat file1.css file2.css file3.css | cssmin > output.min.css
To compress one CSS file while keeping the line length to approximately 1000 characters:
cssmin --wrap 1000 < input.css > output.css


cssmin was written by Zachary Voase.
More details can be found at
This manual page was written by Stuart Prescott <>, for the Debian project (but may be used by others).
May 2013 Debian