My question is about advanced optimizing Cascade Style Sheets (CSS) files for production.
What a the most new and completed (ready to be used in live projects) css optimizers/minimizers that provide not just removing of white spaces and line breaks but also advanced features as removing excessive attributes, merging similar classes and so on..
There are some good online tools like: http://iceyboard.no-ip.org/projects/css_compressor
But I would like to see available implementations to be included in automatic building.
merging similar classesHow do you propose that works? See something like yahoo developer.yahoo.com/yui/compressor.class { color: red; }and.class { text-decoration: underline' }right next to each other? Also removing excessive attributes, care to give an example? As far as I see it this too is highly subjective. It's all well and good chasing those last few kb, but is it really worth it? Instead, look into the performance of your selectors.