You are here

private property SassParser::$style in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/SassParser.php \SassParser::style

style: Value can be: + nested - Nested is the default Sass style, because it reflects the structure of the document in much the same way Sass does. Each selector and rule has its own line with indentation is based on how deeply the rule is nested. Nested style is very useful when looking at large CSS files as it allows you to very easily grasp the structure of the file without actually reading anything. + expanded - Expanded is the typical human-made CSS style, with each selector and property taking up one line. Selectors are not indented; properties are indented within the rules. + compact - Each CSS rule takes up only one line, with every property defined on that line. Nested rules are placed with each other while groups of rules are separated by a blank line. + compressed - Compressed has no whitespace except that necessary to separate selectors and properties. It's not meant to be human-readable.

Defaults to 'nested'.

Type: string the style of the CSS output.

File

phpsass/SassParser.php, line 223

Class

SassParser
SassParser class. Parses {@link http://sass-lang.com/ .sass and .sccs} files. @package PHamlP @subpackage Sass

Code

private $style;