-
Notifications
You must be signed in to change notification settings - Fork 18
CSSTidy
Anthony Short edited this page Aug 15, 2010
·
2 revisions
This extension uses CSSTidy to clean up and reformat the CSS string.
This extension will function automatically when enabled.
This extension uses all the options available to CSSTidy. Refer to the CSSTidy documentation for more information.
<?php
public $_defaults = array
(
'options' => array
(
'case_properties' => false,
'lowercase_s' => false,
'compress_colors' => false,
'compress_font-weight' => false,
'merge_selectors' => false,
'optimise_shorthands' => false,
'remove_bslash' => false,
'preserve_css' => true,
'sort_selectors' => false,
'sort_properties' => false,
'remove_last_;' => false,
'discard_invalid_properties' => false,
'css_level' => '2.1',
'timestamp' => false,
)
'template' => 'low_compression',
);This extension has no hooks.