Other Software > Developer's Corner
CSS Tweaker for helping to clean up CSS files
(1/1)
housetier:
Where is it?
You go here.
What is it?
It is a free service which takes a .css file and attempts to optimize it. The resulting .css is usually much smaller and less redundant (I believe). However, all the definitions are on one line so it will be difficult to edit it afterward.
You should try and see or yourself. I am sure it will be impoved in the future. I bookmarked it already. :)
allen:
If you select the option to leave your format alone, it won't strip out all the white space.
I was a bit flattered by it -- most of the changes it made were just stripping out comments, which I'd rather leave in there anyway. :)
I think that this is a pretty cool thing, but I wonder -- short of huge, huge, huge stylesheets -- or stylesheets intended for really slow machines/connections, does this really save enough bytes to make it worth the clicks it takes to do it?
I'd written an optimizer of sorts the focussed less on size and more on combinging elements that shared the same attributes, so as to have as few lines to edit as possible. Too bad that system bit the dust, too lazy to re-write it:)
housetier:
I thought it did combine!
I tested it with the marvinclassic style sheet of my site and after breaking that one line up into several lines, it seemed more consise. Might be my imagination or wishful thinking...
I hope the css tweaker will be further improved.
housetier:
I just ran a "test" again, this time with a different css though. It seemed to have improved and optimized the stylesheet as far as possible. However the css I provided seems to have been quite optimized already.
for reference: This "test" was run on version 0.4 of the css tweaker.
Anyway, I'll keep an eye on this.
housetier:
:lol:
I just tried again with a handcrafted .css of mine, but it made it only 0% smaller if I told to "leave my layout alone!" Maybe, just maybe I am getting better at this.
Although my .css is the fruit of several hours of hard labor: trial & error, edit and validate & validate.
Navigation
[0] Message Index
Go to full version