Quote:
Originally Posted by Brujah
Thank you. Page Speed said I had about 20% of unused css.
|
don't pay much attention to that, most of the times extreme CSS optimization implies that you'll go crazy every time you need to edit the file again.
Anyway, if you really, really, REALLY need it, do the following:
- be sure to reduce all the elements sharing the same definitions resetting them on start. ie, if your images are going to have no borders, just img{border:0}, html{margin:0;}, h1, h2, h3{color:#333;}, and so on.
- use any of tidy service out there. Personally, I like
http://www.cleancss.com/ since it has some control to balance readability and size