Package cssutils :: Package scripts |
[hide private]
[frames] | no frames]

# Package scripts

source code

Submodules | [hide private]
cssutils.scripts.csscapture: Retrieve all CSS stylesheets including embedded for a given URL. cssutils.scripts.csscombine cssutils.scripts.csscombine': Combine sheets referred to by @import rules in a given CSS proxy sheet into a single new sheet. cssutils.scripts.cssparse: utility script to parse given filenames or string

Functions | [hide private]
csscombine(proxypath, sourceencoding=None, targetencoding=`'``utf-8``'`, minify=True) Combine sheets referred to by @import rules in given CSS proxy sheet into a single new sheet. | source code

Function Details | [hide private]

### csscombine(proxypath, sourceencoding=None, targetencoding=`'``utf-8``'`, minify=True) | source code
Combine sheets referred to by @import rules in given CSS proxy sheet into a single new sheet. Parameters: `proxypath` - url or path to a CSSStyleSheet which imports other sheets which are then combined into one sheet `sourceencoding` - encoding of the source sheets including the proxy sheet `targetencoding` - encoding of the combined stylesheet, default 'utf-8' `minify` - defines if the combined sheet should be minified, default True Returns: combined cssText, normal or minified