PHP Classes
elePHPant
Icontem

CSS Compressor: Compact the size of CSS definitions

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-05-02 (6 years ago) RSS 2.0 feedStarStarStar 56%Total: 1,058 All time: 3,385 This week: 924Up
Version License PHP version Categories
css-compressor 4MIT/X Consortium ...5.0PHP 5, Text processing, Compression
Description Author

This class can be used to compact the size of CSS definitions.

It takes a string with CSS definitions and performs several types of operations that can reduce the number of bytes that the resulting CSS definitions take.

Picture of Corey Hart
Name: Corey Hart <contact>
Classes: 2 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagevars (3 files)
Plain text file css-compression.php Class Compresses input css as much as possible
Accessible without login Plain text file licence Lic. MIT Licence
Accessible without login Plain text file index.php Example Testing script
Accessible without login Plain text file js.js Example Javascript for display page
Accessible without login Plain text file styles.css Example Styles the display page

  Files folder image Files  /  vars  
File Role Description
  Accessible without login Plain text file fontweight2num.php Conf. converts font names to numbers
  Accessible without login Plain text file hex2short-colors.php Conf. Array for converting hex to short color names
  Accessible without login Plain text file long2hex-colors.php Conf. Array to convert long color names to hex codes

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,058
This week:0
All time:3,385
This week:924Up
User Ratings User Comments (1)
 All time
Utility:87%StarStarStarStarStar
Consistency:56%StarStarStar
Documentation:-
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1519
 
Excelent.
7 years ago (Sergio López)
70%StarStarStarStar