GaryJones / Simple-PHP-CSS-Minification

A set of regular expressions in PHP to minify a string of CSS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick and dirty PHP function to minify common parts of CSS.

This code is old; it worked at the time but may not support some of the more complex syntaxes of CSS3. For that, use a proper parser and minifier.

As per the [LICENSE], this code is in the public domain, and can be used/amended as you wish, without attribution.

There is no intent to improve the code in the future.

About

A set of regular expressions in PHP to minify a string of CSS.

License:The Unlicense


Languages

Language:PHP 100.0%