CleanCSS
CSS May 5th, 2007

What is CleanCSS?
CleanCSS is a powerful CSS optimizer and formatter. Basically, it takes your CSS code and makes it cleaner and more concise.
The CSS optimizer was originally developed by some awesome dudes over at CSS Tidy. They built the program and have made it free for everyone to use. I stumbled across their optimizer one day while looking for help with my CSS. I wanted to know the shortest way I could style a background of a web site without having to use all the “background-image” and “background-repeat” tags. I found some other optimizers which I tried, but none worked as well as CSS Tidy. It was actually hosted on some random CD Burning website. Why? I have no idea.
But after I posted about it on my blog, I noticed that a week later, the site no longer existed. I was bummed because I was trying to show my fellow designers at work this amazing utility. So I took the liberty and installed CSS Tidy on my own webserver and registerd cleancss.com. I also styled it up to my liking (see the grass green colors?). So now I can make sure this kick-ass CSS utility stays up forever. And gets used by web designers everywhere.
May 11th, 2007 at 2:59 am
Great find! In time, I find that my CSS begins to get very messy.
Now, I wonder if there’s a toll to highlight all “orphaned” css? What I mean is, you know what happens, you drop some elements on a page, but forget to delete or comment out the css. Would be great to have a toll that looks at your page and says “this is a list of all the rules in your css file that are not used on the page”. Hope that makes sense.