I have been assigned the task of cleaning up over 5,000 lines of CSS. During the development of this project, we basically just appended classes to this massive CSS file.
I am tasked with organizing classes according to their pages, and then prepending the page ID to them to make them only hit that page.
However, what makes this tedious is manually finding out what classes and ID's are in a page, and then organizing them.
Is there a way to "dump" all the classes from a stylsheet, ONLY on that page, into a file or something?