0

I have been working with a large project with many others. Unfortunately (but realistically) there is a ton of extra CSS such as the body element declaring the same font over and over.

I'm looking for possibly an NPM plugin or something that takes out extra content like that. Does anyone know of plugin like this or another solution?

Mitch Wilkins
  • 495
  • 4
  • 19
  • So, did you mean specific CSS selectors or all of them? – Anson Dec 06 '16 at 05:39
  • All of them. There are many different classes that are restyled with the same attribute. I know an IDE or DevTools would tell me where its being restyled, but there are a lot. – Mitch Wilkins Dec 06 '16 at 05:44
  • 1
    Well... You can disable CSS files which were imported using `link` element. Here is the [example](http://stackoverflow.com/questions/12857734/removing-the-css-file). Or you are able to use `*` selector for all element and add the style you are annoyed with `!important` if it those CSS files can stay in HTML. – Anson Dec 06 '16 at 05:52

0 Answers0