CSSCSS 是一个用来分析 CSS 中冗余信息的工具,通过解析 CSS 文件可以显示出那些规则是重复定义的。
$ csscss path/to/styles.css path/to/other-styles.css {.contact .content .primary} and {article, #comments} share 5 rules {.profile-picture}, {.screenshot img} and {a.blurb img} share 4 rules {.work h2:first-child, .contact h2} and {body.home h2} share 4 rules {article.blurb:hover} and {article:hover} share 3 rules