In current project, I was asked for compressing the HTML class attribute and corresponding CSS selectors before deployment. For example, the code on
If you really want to rename class names (keeping in mind what Madmartigan said) Google Closure Stylesheets does that. It's an overkill, and YUI Compressor or any other minification + gzipping tool should give you enough performance boost, but it can do it. You'll have to use other Closure tools to make appropriate changes to your .js
files and html templates.