Get rid of unused CSS

tkowebworks

New Member
Hello,

Is there a quick way to find out what css is not being used so that I can remove it?
Or is there a program out there that can do this?
I would pay for something like this.

Thank you for any of your input!
 

CaldwellYSR

Member
Firebug is the best thing I can think of besides simply going through it yourself. Firebug is a free extension to firefox.
 

ronaldroe

Super Moderator
Staff member
Depending on the browser you're using, you can usually bring it up in the dev console and disable individual CSS properties. You could do that piece by piece until something breaks, then you know the stuff you disabled is unnecessary. Other than that, just having a good understanding of how CSS works is your best tool.
 

retaingain

New Member
Best way to get rid of unused CSS is to use a browser plugin like Firebug. You'll be able to see all pieces of CSS code that are being used on a page.
 
Top