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 56%Total: 1,079 All time: 3,431 This week: 201Up
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: 33
All time rank: 1727241 in United States United States
Week rank: 948 Up99 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  
This week:0
All time:3,431
This week:201Up
User Ratings User Comments (1)
 All time
12 years ago (Sergio López)
For more information send a message to info at phpclasses dot org.