Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 615 Bytes

File metadata and controls

35 lines (29 loc) · 615 Bytes

compile()

Compile the document into a CSS string and save to the specified location, or return as a string.

$doc = new \hexydec\css\cssdoc();
if ($doc->load($css)) {
	$doc->compile($options);
}

Arguments

Parameter Type Description Default
output String Defines the output mode, either minify or beautify minify

Returns

Returns the rendered CSS as a string.