Difference between revisions of "SCSS"
From Dreamwidth Notes
Foxfirefey (Talk | contribs) (Created page with "SCSS is a version of SASS very similar to CSS, with some extra advantages. We are using compass as a compiler and using the SCSS version of Foundation. == Compiling == ...") |
Foxfirefey (Talk | contribs) |
||
Line 1: | Line 1: | ||
SCSS is a version of SASS very similar to CSS, with some extra advantages. We are using compass as a compiler and using the SCSS version of [[Foundation]]. | SCSS is a version of SASS very similar to CSS, with some extra advantages. We are using compass as a compiler and using the SCSS version of [[Foundation]]. | ||
+ | |||
+ | == Installing compass == | ||
+ | |||
+ | Instructions are here: | ||
+ | |||
+ | http://compass-style.org/install/ | ||
+ | |||
+ | But in short, make sure Ruby is installed and then install with gem: | ||
+ | |||
+ | gem install compass | ||
== Compiling == | == Compiling == |
Revision as of 02:27, 20 June 2013
SCSS is a version of SASS very similar to CSS, with some extra advantages. We are using compass as a compiler and using the SCSS version of Foundation.
Installing compass
Instructions are here:
http://compass-style.org/install/
But in short, make sure Ruby is installed and then install with gem:
gem install compass
Compiling
To compile SCSS to CSS, cd to the directory ($LJHOME or $LJHOME/ext/dw-nonfree depending on what you are working on) and run:
compass compile
To continually compile any time you save a SCSS file and make changes, do the same but use this instead:
compass watch