5 ms·
CSSO [1] is a tool that removes duplicate declarations during minification instead of just warning about them. It also performs more advanced structural optimiz
by moonboots 14y ago
CSSO [1] is a tool that removes duplicate declarations during minification instead of just warning about them. It also performs more advanced structural optimizations.
[1] http://bem.info/tools/csso/ http://bem.info/tools/csso/
- zmoazeni 14y agocss-ratiocinator [1] is also another tool someone mentioned to me after I launched cssscss. [1] https://github.com/begriffs/css-ratiocinator https://github.com/begriffs/css-ratiocinator and http://www.csstrashman.com/ http://www.csstrashman.com/
- susi22 14y agoAnd rework [1] allows you to change url()'s, inline images, change vendor prefixes and more... [1] https://github.com/visionmedia/rework https://github.com/visionmedia/rework
- k__ 14y agoIs there something that can do all of this and remove the unused css after clicking through the site with a browser?
- ecaron 14y agoI think the purpose of this package is more about making existing source code easier to maintain (applying DRY principals to CSS) than about browser-oriented optimization (thus purpose of CSSO.)
- eru 14y agoYou could keep the csscss'ed source in version control (easy to maintain), and use csso as an automated step before deploying.