background preloader

Sass Compass

Facebook Twitter

Least – TOKI WOKI. Compass.app: compile Sass/Compass easily without resorting to command line interface. Scout - Compass and Sass without all the hassle. Sass Documentation. Sass makes CSS fun again. Sass is an extension of CSS, adding nested rules, variables, mixins, selector inheritance, and more. It's translated to well-formatted, standard CSS using the command line tool or a web-framework plugin. Sass has two syntaxes. The new main syntax (as of Sass 3) is known as "SCSS" (for "Sassy CSS"), and is a superset of CSS's syntax. This means that every valid CSS stylesheet is valid SCSS as well. The second, older syntax is known as the indented syntax (or just "Sass"). Using Sass can be used from the command line or as part of a web framework. Gem install sass After you convert some CSS to Sass, you can run sass style.scss to compile it back to CSS.

Sass --help To install Sass in Rails 2, just add config.gem "sass" to config/environment.rb. Sass can also be used with any Rack-enabled web framework. Require 'sass/plugin/rack'use Sass::Plugin::Rack to config.ru. To use Sass programmatically, check out the YARD documentation. Formatting Sass has two syntaxes. Nesting. FireSass for Firebug. LiveReload. Compass Home | Compass Documentation.