Log in

View Full Version : Free Dynamic CSS tool compresses CSS



kepler
05-03-2008, 06:01 AM
I created a tool to compress CSS files. You can download it here (http://www.coolphptools.com/dynamic_css).

It has a lot of other features:

Allows for variables
Allows for server side includes of other CSS files
Handles if/elseif/else/endif conditional logic
Can access passed parameters
Allows for C style end-of-line comments


It also include a PDF file with instructions on how to use it.

It does require:

An apache server which allows the AddType directive
PHP (tested with PHP4 not sure if it works with PHP5)

I was motivated to create the tool after reading Yahoo's tutorial on why web sites are slow. The CSS compression alone sped my web site up dramatically.

Hope it helps you with your web development :)