PurifyCSS
Remove unused CSS. Also works with single-page apps
A function that takes content (HTML/JS/PHP/etc) and CSS, and returns only the used CSS. PurifyCSS does not modify the original CSS files. You can write to a new file, like minification. If your application is using a CSS framework, this is especially useful as many selectors are often unused. Statically analyzes your code to pick up which selectors are used. The CLI currently does not support file patterns. Remove unused CSS code from your stylesheet. PurifyCSS is meant to be installed via npm...