Forum Moderators: not2easy
A while ago - before I started using CSS properly - I downloaded a trial version of a CSS editing suite which had a tool which re-wrote the CSS file and optimised it by combining styles.
Does anyone know of any such programs which will re-write my CSS and save me hours of cutting and pasting?
Thanks,
Steve
If your CSS must be that complex, then I would think twice about optimizing it much anyway. Unless it's outright sloppy, which happens sometimes during development, your code is probably at least fairly easy to read. That means later updates and changes will be easy and predictable. If you optimize it too far and combine too many rules, it could become very difficult to know what you need to change and what it will affect.