Merge CS S Snippet

Merge CSS is a groovy script allowing to read a CSS script and read all imports and include them in place.

This allows in conjunction with the tool on http://www.codebeautifier.com to create a unique merged CSS file more efficient for serving your skin's CSS file.

It doesn't recursively call the merge CSS and works only with relative urls in imports.

Code

The code is in the Merge CSSCode page. Access it using this url.

Result

The result will be a CSS file. The url can be passed to codebeautifier. When you use codebeautifier, don't activate "Merge Selectors" as it seems to loose some background colors.

Version 2.1 last modified by VincentMassol on 09/12/2007 at 14:25

Comments 0

No comments for this document

Attachments 0

No attachments for this document

Creator: LudovicDubost on 2007/09/20 11:25
This wiki is licensed under a Creative Commons license
1.4.1.10194