Login   Register  
PHP Classes

Class: CssShrink

Icontem
elePHPant

  Classes of João Romão  >  CssShrink  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CssShrink Support forum
Base name: cssshrink
Description: Compress CSS files by removing unneeded characters
Version: 1.0
Required PHP version: 5.1
License: GNU General Public License (GPL)
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description  
  Trackback   Applications   Related links   Files Files  

Screenshots

CssShrink in action
File Role Description
Accessible without login Image file CssShrinkscreenshot Screen CssShrink in action

Author

Picture of João Romão
Name: João Romão <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Portugal Portugal - PHP jobs in Portugal
Home page: http://iceburn.info/

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

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.

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

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.