Login   Register  
PHP Classes
elePHPant
Icontem

Class: CssShrink

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of João Romão  >  CssShrink  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CssShrink
Base name: cssshrink
Description: Compress CSS files by removing unneeded characters
Related classes: , , ,
Version: 1.0
PHP version: 5.1
License: GNU General Public License (GPL)
All time users: 366 users
All time rank: 5177
Week users: 0 users
Week rank: 2590
Picture of João Romão
Author: João Romão <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Portugal Portugal - PHP jobs in Portugal
Age: 31
All time rank: 208928 in Portugal Portugal
Week rank: 2293 Down31 Down in Portugal Portugal


  Detailed description  
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.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Compression Data compression and file archive manipulation View top rated classes

  Screenshots Screenshots   Rate classes User ratings   Trackback  
  Applications   Related links   Files Files  
  Files folder image Screenshots  
CssShrink in action
File Role Description
Accessible without login Image file CssShrinkscreenshot Screen CssShrink in action


  User ratings  
There are not enough user ratings to display for this class.

  Trackback links  
Link Description
Easily Load Your Pages Faster With Compressed CSS CSS brought us so many possibilities! Luckily, I’ve started my first HTML pages, back in 2004, using style sheets, so the old table based layout that old school designers still use these days simple because they stopped in time 10 years ago, are history...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Class in action (demonstration) Demonstration page

  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

Download all files: cssshrink.tar.gz cssshrink.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.