PHP Classes

CSS Compressor: Compact the size of CSS definitions

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 1,085 All time: 3,442 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: 1731248 in United States United States
Week rank: 180 Up22 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (8)  
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 (8)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,085
This week:0
All time:3,442
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:2452
 
Excelent.
15 years ago (Sergio López)
70%StarStarStarStar