Login   Register  
PHP Classes
elePHPant
Icontem

CssShrink: Compress CSS files by removing unneeded characters

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-10-10 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 414 All time: 5,744 This week: 1,734Up
Version License PHP version Categories  
cssshrink 1.0GNU General Public Lice...5.1PHP 5, Text processing, Compression
Description Author  
This class can be used to compress CSS files by removing unnecessary characters.

It takes the contents of a CSS file and compresses it by removing comments, white spaces and semi-colons after statements at the end of the line.

The compressed CSS output is returned as a string.
Picture of João Romão
Name: João Romão <contact>
Classes: 2 packages by
Country: Portugal Portugal
Age: 33
All time rank: 229633 in Portugal Portugal
Week rank: 1076 Up20 in Portugal Portugal Up

Screenshots  
  • CssShrinkscreenshot
  Files folder image Files  
File Role Description
Accessible without login Plain text file CssShrink.class.php Class The main class
Accessible without login Plain text file style.css Data Original CSS sample file used in example file
Accessible without login Plain text file usage_example.php Example CssShrink usage samples

 Version Control Unique User Downloads Download Rankings  
 0%Total:414All time:5,744
 This week:0This week:1,734Up