I've been looking for a CSS optimizer that will remove any styles that aren't actually used -- e.g. selectors matching ids and classes that don't exist in the html. Does anyone know of such a thing? Preferably easy to use from Jetbrains IDEs?
I've only used it once but it did the job (NOTE: Plain HTML, plain CSS, no build pipeline. So YMMV)