Answer the question
In order to leave comments, you need to log in
Dead code in CSS?
They gave the project for debugging, but there CSS grew to disgrace. And half of it is definitely not used. I wondered - is there any utility for finding dead code in CSS? I understand that there are many prejudice stones: you need to check on all pages for which styles are used, take into account the work of JS (the same jQuery UI) ... But still ... all this is quite feasible. Maybe already implemented?
Answer the question
In order to leave comments, you need to log in
My friends are now sawing csscleaner.net/ just what you need. However, it is now running quite slowly.
PS Please note that the server cannot parse pages closed by authorization, so you either need to upload a zip archive (did not check if it works), or open pages for access by unauthorized users.
PS2 By the way, if you have ideas on how to process pages closed by authorization, I would pass them on to them.
There is such a thing - CSSTidy , can remove css duplicates. I use it like this: I collect all the included files into one, run it with CSSTidy, save it and put it in the cache folder.
As I understand it, the question remained open, since all the utilities from the topic are not without a "sin".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question