Awesome Syntax Changes in Sass 3
Update: Sass 3 Beta 2 introduces a sass-convert --recursive flag for recursively converting stylesheets. This post has been updated to use that flag.
Update: Sass 3.1 no longer supports converting from Sass 2 syntax to Sass 3 syntax. If you still need to do this, install version 3 of the haml gem.
In addition to a brand new syntax,
Sass 3 introduces two major changes and one minor change to the existing syntax.
I think pretty much everyone will agree that they’re good changes, though.
In addition, to ease the upgrade path,
Sass 3 also introduces a new, turbocharged version of css2sass
known as sass-convert.
sass-convert can convert files between CSS, Sass, and SCSS,
as well as convert files from the old Sass 2 syntax to the new Sass 3 syntax:
About Me
Feed
February 2010
12 Comments
More

