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

Package scripts

source code

Submodules [hide private]

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