Ask HN: Know of a good tool that finds unused stylesheet selectors and rules?
It seems to be a common problem that as stylesheets mature and the project grows that eventually you may end up in a situation where you are not sure if various styles are still being applied anywhere. Does anyone know of a good way to figure this out with some kind of software tool?
5 comments
[ 3.0 ms ] story [ 16.1 ms ] threadThat's a tricky problem. I'm not aware of a tool, but if you find one I'll be happy to test it, I have a few of those questionable items in my style sheets that are still there 'just in case'.
It's a problem and if there's a solution out there it would make me very happy.