dict2css.serializer
¶
Serializer for cascading style sheets.
New in version 0.2.0.
Classes:
|
Serializes a |
-
class
CSSSerializer
(*, indent='\t', trailing_semicolon=False, indent_closing_brace=False, minify=False)[source]¶ Serializes a
StyleSheet
and its parts.This controls the formatting of the style sheet.
- Parameters
Methods:
Reset the serializer to its default style.
use
()Contextmanager to use this serializer for the scope of the
with
block.