Remove redundant CSS properties between 2 or more CSS files

I have 2 CSS files that have redundant CSS properties set between them.

For example, in foo.css:

#test {
    border: 0;
    font-size: 16px;
}

in bar.css:

#test {
    border: 0;
    font-size: 32px;
    width: auto;
}

With this I want to remove border: 0;from bar.css.

I expected that I would find the answer to this question in the existing question, but for life I could not find anything. Should there be some quick tool to process 2 or more files?

+3
source share
2 answers

There's an add-on for Firefox called Dust-Me Selectors that scans the stylesheets on the page and gives you a list of those that are in use and not in use.

, . ( , , , ..)

0

All Articles