View Single Post
Old 06-17-2020, 05:05 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,954
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Turtle91 View Post
Be careful, the built-in version of Delete Unused Style Classes is a bit buggy. It can miss, and delete, things that you would rather keep. (eg it has a hard time determining that pseudo-selectors are, in fact, used.)

I would recommend installing the cssRemoveUnusedSelectors plugin, It seems to do a great job, and prettify's your style sheet when it's done.

Cheers,
I use the Calibre Editor's Remove unused CSS Rules and I've not had it remove any classes that are actually in use. It works very well.
JSWolf is offline   Reply With Quote