3 ms·
I don't think there's anything that will change the class names, but there are minifiers http://yui.github.io/yuicompressor/css.html http://yui.github.io/yuico
by columbo 13y ago
I don't think there's anything that will change the class names, but there are minifiers
http://yui.github.io/yuicompressor/css.html http://yui.github.io/yuicompressor/css.html
Changing the class names would be difficult as it wouldn't pick up any dynamic class names, like
var className = 'user_' + user.getState(); //'user_deleted' or 'user_active'
- ygra 13y agoBut that's the same problem as minifying JS libraries already, where you have a set of public symbols that should not be altered. An exclusion list works well in that case where you could just put the class named that are for dynamic generation (you probably don't do that with all classes in the stylesheet).