Lightning Demo: Automating The Removal Of Unused CSS
summary
Demo of an automated build step that strips unused stylesheet rules using an unCSS module wired into a grunt task. Shows Bootstrap pages where roughly 89% unused (one tweeted case cited 91%) of framework rules are inert, and a sample site drops CSS from about 120KB → 18KB total after pruning. Tool parses pages, compares selectors against included stylesheets, removes dead rules at build time; some complex selectors still miss complete coverage.
AI-written summary · about








