Haml/Sass 3 Beta released! - Give Sass a CSS-superset syntax

Nathan Weizenbaum released the first beta of Haml/Sass 3: Classy Cassidy. Here’s a very brief summary: new syntax is known as “SCSS”, for “Sassy CSS”; SCSS was built from ground up based on CSS3 spec, and is 100% CSS3-compatible; SCSS can do anything Sass can do; SCSS files can import Sass files, and vice versa; […]

Nathan Weizenbaum released the first beta of Haml/Sass 3: Classy Cassidy. Here’s a very brief summary: new syntax is known as “SCSS”, for “Sassy CSS”; SCSS was built from ground up based on CSS3 spec, and is 100% CSS3-compatible; SCSS can do anything Sass can do; SCSS files can import Sass files, and vice versa; This means you can use Compass with SCSS right now. “Sass is valuable, and its value doesn’t lie in its syntax, it lies in its power. The success of compilers like Less make it clear that people want CSS compatible syntax, and it doesn’t make sense to keep them from using Sass because it doesn’t have it.”

// new way to default that mimics the look of !important
$var: 12px !default;
 
// $ not !
$width: 13px
.icon
  width: $width
 
// mixin definition
@mixin pretty-text
  color: $prettiest-color
a
  @include pretty-text

More info: Haml/Sass 3 Beta Released!