public function SassCompressedRenderer::renderProperty in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/renderers/SassCompressedRenderer.php \SassCompressedRenderer::renderProperty()
Renders a property.
Parameters
SassNode the node being rendered:
Return value
string the rendered property
1 method overrides SassCompressedRenderer::renderProperty()
- SassCompactRenderer::renderProperty in phpsass/
renderers/ SassCompactRenderer.php - Renders a property.
File
- phpsass/
renderers/ SassCompressedRenderer.php, line 79
Class
- SassCompressedRenderer
- SassCompressedRenderer class. Compressed style takes up the minimum amount of space possible, having no whitespace except that necessary to separate selectors and a newline at the end of the file. It's not meant to be human-readable @package …
Code
public function renderProperty($node) {
return "{$node->name}:{$node->value};";
}