Before publishing a site I have bloat of unused CSS styles. Is there any good tool to detect unused CSS classes, divs?
Related Questions:
Before publishing a site I have bloat of unused CSS styles. Is there any good tool to detect unused CSS classes, divs?
Related Questions:
Here is a simple web based css optimizer, very useful: http://www.cleancss.com/
Try ProCSSor
Make sure you have firebug (for Firefox, if you don't know), and then install the pagespeed plugin for firebug, developed by Google:
http://code.google.com/speed/page-speed/
It will give you a 'pageSpeed' tab in firebug. Open it and, with 'performance' selected, click 'analyze performance'. Along with lots of other useful suggestions, you will get a list item labelled "Remove Unused Css". Click to expand it and see a breakdown by resource of unused css rules appearing on the present page, along with the memory size that you will save by removing the unused rules.
© 2022 - 2024 — McMap. All rights reserved.