Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/garyjones/simple-php-css-minification

A set of regular expressions in PHP to minify a string of CSS.
https://github.com/garyjones/simple-php-css-minification

Last synced: 16 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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.