grunt-uncss task helps in removing unused CSS from your projects with UnCSS. grunt-uncss works across multiple files and supports dynamically injected CSS as well.
grunt-uncss
UnCSS
Installing the grunt-uncss could be achieved through the subsequent means
$ npm install grunt-uncss --save-dev