cleahcim — 2011-08-22T07:52:26-04:00 — #1
I'm in the process of migrating a number of sites over to a new platform. The sites have to be near identical to the current live sites.
I am looking for a tool that will scrape the css files of selected pages to discover the use frequency of the rules and to find the most common styling for each of the most common elements/html tags.
Does anyone know of such a tool?
victorinox — 2011-08-22T08:11:37-04:00 — #2
I can see the usefulness of a tool that can identify redundant CSS, but not what is "most common", as some little used rules may play an important role.
Something like the Firefox Dust-Me Selectors add-on may be worth trying.
paulob — 2011-08-22T08:35:55-04:00 — #3
Hi Welcome to Sitepoint
Dust me selectors was useful for finding unused rules but doesn't seem to have been updated to work with the latest Firefox so you may need to install an old Firefox version to use it.
There is also a [redundancy checker [URL="http://infovore.org/archives/2007/07/06/the-css-redundancy-checker/"]here](http://code.google.com/p/css-redundancy-checker/).
You may find some other useful tools here.