mincss - Clears the junk out of your CSS¶
mincss
is a Python library that makes it possible to evaluate
which CSS is actually being used. It does this by download the whole
page(s) and finds all inline and linked CSS and analyses which
selectors are still in use somewhere.
Optionally, you can use PhantomJS to download the HTML source from a URL which means it will at least load all the Javascript that gets executed onload.
Installation should be as simple as pip install mincss
. The code
is available on Github.