How do you minimize your CSS?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
cyberman

Re: How do you minimize your CSS?

Post by cyberman »

To get CSS faster you can try to minify/compress it ...
Peciura

Re: How do you minimize your CSS?

Post by Peciura »

If you use static CSS file it can be cached by browser. Also read about "image sprites". Some ideas are here use at your own risk http://forum.cmsmadesimple.org/index.ph ... 244.0.html
cyberman

Re: How do you minimize your CSS?

Post by cyberman »

Peciura wrote: If you use static CSS file it can be cached by browser.


Maybe a static CSS file is not needed - there's an option in admin

Site admin > Advanced setup

look at "Maximum amount of time (seconds) stylesheets can be cached in the browser:"
Also read about "image sprites".
Yeah, there are some online generators like here

http://csssprites.org/
Locked

Return to “Layout and Design (CSS & HTML)”