Pinterest Stumbleupon Whatsapp
Ads by Google

Do you have unused selectors in the CSS of your website? If you do, or if you are not sure, you can easily clean up those unused selectors using a website called Unused CSS.

clean up unused css

Unused CSS is a free to use website that helps site owners clean up their CSS. You start by providing Unused CSS with your site’s URL. Then a web crawler follows the links on your website and retrieves the CSS files and lists the selectors. The selectors are tested and checked whether each selector matches any element. When all the CSS files have been tested, a new CSS file is formed. This CSS is built with only the used selectors. You are notified via email when this email is ready; you can then download the file and use it on your site.

unused css checker

Features:

Check out Unused CSS @ www.unused-css.com

Ads by Google

  1. eric
    March 5, 2011 at 10:05 am

    @Chris it turns out this tool can also log in and explore those pages.

  2. Chris
    January 17, 2011 at 8:27 am

    These types of sites are useful in theory but not necessarily in practice.

    You may have css attached to pages that are hidden from guests, such as shopping baskets, user control panels etc. css checkers usually won't be able to access these pages and so will claim that the css on them is unused.

Leave a Reply

Your email address will not be published. Required fields are marked *