Skip to content
Anthony Short edited this page Aug 15, 2010 · 2 revisions

This extension uses CSSTidy to clean up and reformat the CSS string.

Usage

This extension will function automatically when enabled.

Settings

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',
);

Hooks

This extension has no hooks.

Clone this wiki locally