Cleaning up CSS styles -
I'm a web developer. Some time ago I got the project to keep me this project is online for some years And there were some more maintenance in front of me. There were a lot of changes in functionality during my lifetime. Several features were added, some of them were later removed as unused. Some of these features require new design elements, so new CSS code is also added. But when these features were removed, the CSS was added. Apart from this, every maintenance has added its CSS styles for small fixes such as padding, margin etc. After some time, the CSS files became a big bucket of crap :-) I can find many CSS described elements in the same way, but in different CSS files. Yes, I know that I can minimize CSS files, but if I want to clean them then how can I clear all this mess?
I need tools / practices / suggestions about these problems:
- Find the same elements described in various CSS locations. / Li>
- Collect unused CSS classes or other details (probably some tools / browser plug-ins that analyze CSS and collect unused styles).
- Instead of just a few css styles
- some more ...
You should give a try This is a Firefox addon that will highlight all unused CSS. Very useful for me =)
Comments
Post a Comment