Deadweight is a CSS coverage tool. Given a set of stylesheets and a set of URLs, it determines which selectors are actually used and reports which can be “safely” deleted.
deadweight -s styles.css -s ie.css index.html about.html deadweight -s http://www.tigerbloodwins.com/index.css http://www.tigerbloodwins.com/ deadweight --root http://kottke.org/ -s '/templates/2009/css.php?p=mac' / /everfresh /about cat styles.css | deadweight index.html
Awesome! I wonder if I could get this working in the HTML5 Bolierplate build scripts?