Skip to content
m3nt0r edited this page Sep 13, 2010 · 1 revision

In SASS there are not many options (yet). It is still under heavy revision but if you like to change the way how the CSS files are rendered you can change this by editing the sass.php and change the renderer.

You have to change this line:

$renderer = SassRenderer::COMPACT;

###Available Renderers###

  • NESTED
  • EXPANDED
  • COMPACT (default)
  • COMPRESSED

###Rendering Examples###

This is really a cool feature.. choose whatever you like!

NESTED:

body {
font-family: Helvetica, Arial, sans-serif;
font-size: 12px; }
#doc {
width: 820px;
margin: 0 auto; }

EXPANDED:

body {
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
}

#doc {
width: 820px;
margin: 0 auto;
}

COMPACT:

body { font-family: Helvetica, Arial, sans-serif; font-size: 12px; }

#doc { width: 820px; margin: 0 auto; }

COMPRESSED:

body{font-family: Helvetica, Arial, sans-serif;font-size:12px;}#doc{width:820px;margin:0 auto;}
Clone this wiki locally