PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 1,085 All time: 3,441 This week: 455Up
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 is available for providing paid consulting. Contact Corey Hart .
Classes: 2 packages by
Country: United States United States
Age: 36
All time rank: 1729247 in United States United States
Week rank: 321 Up31 in United States United States Up
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,085
This week:0
All time:3,441
This week:455Up
User Ratings User Comments (1)
 All time
Utility:80%StarStarStarStarStar
Consistency:55%StarStarStar
Documentation:-
Examples:65%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2431
 
Excelent.
14 years ago (Sergio López)
70%StarStarStarStar