OpenBSD xterm ksh 251 views

cssmin is a command-line utility to removes line breaks, comments and spaces around symbols in a CSS file. Without any dependency, you only need lua (>= 5.1).

Use a CSS file as argument or CSS block by stdin:

  • ./cssmin styles.css > styles.min.css
  • ./cssmin < styles.css > styles.min.css
  • cat styles.css | ./cssmin
  • echo ".red { color: red; }" | ./cssmin

More recordings by hs0ucy