Pages

Search This Blog

Thursday, September 29, 2016

Unused Css

If anytime you feel that you have lots of unused CSS classes and find a way to detect them then there is a script available which you can include temporary on your website footer. This will ask you for the page urls which gets scanned for finding unused css classes.


<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/helium-css/1.1/helium.js" onload="helium.init()" async></script>



Once you start the process it will show you all the css classes from all the css files as a report that you can download

No comments:

Post a Comment