Is there any tool to detect lines of html/css code that are actually not being used anymore?

css, html

Solution

Looks like http://unused-css.com/ will check for unused CSS on your site.

Unused JS will be much tougher.

Problem

I recently redesigned my website and now I have many lines of code that are not being used anymore when the website loads. Its really tedious to go through all the lines manually, is there any tool for this? Thanks!

Original source