Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/garyjones/simple-php-css-minification
- Owner: GaryJones
- License: unlicense
- Created: 2011-09-18T09:55:23.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T14:23:58.000Z (over 3 years ago)
- Last Synced: 2024-10-03T12:38:14.167Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 37
- Watchers: 7
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
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.