Skip to content

Built in CSS minifiers

Andrey Taritsyn edited this page Aug 23, 2015 · 5 revisions

CSS minifiers are used in HTML and XHTML minifiers for minification of embedded and inline CSS code. Be a CSS minifier can any class, that implements the ICssMinifier interface.

Mads Kristensen's CSS Minifier

KristensenCssMinifier class implements a simple CSS minifier based on the Mads Kristensen's Efficient stylesheet minifier.

Null CSS Minifier

If in your HTML/XHTML code is missing embedded or inline CSS code, you can use instead of the real CSS minifier the stub in the form of NullCssMinifier class. This will allow you to save memory.