Sass compass

sass

http://sass-lang.com/download.html

Note that Sass is written in Ruby, so you’ll need Ruby installed as well. If you’re using OS X, it’s already there. Windows users can get it via the RubyInstaller for Windows. Linux users can install it with their package manager.

Standard Gem

Most people will just want the standard stable Sass gem. To install this:
gem install sass
Prerelease Gem

To get the latest and greatest Sass goodness, though, you’ll need something else. A prerelease gem is created automatically every time changes are made to the master branch. To install it:
gem install sass --pre
Installation from Git

Sass can also be installed directly from the Git repository:
git clone git://github.com/nex3/sass.git
cd sass
rake install
Downloadable Archives

Finally, archives of current and old releases are available on Rubyforge.



compass

http://compass-style.org/install/

Installing Ruby

Compass runs on any computer that has ruby installed.

For more advanced users you may want to install rvm.
Setting up the ruby environment
$ gem update --system
$ gem install compass
Tell us about your project and we'll help you get it set up:
I would like to set up my project named with starter stylesheets.
I prefer the syntax and would like to directory structure.
Thanks. Now run the following steps in your terminal:

Terminal newbies, read the Designer’s Guide to the OSX Command Prompt first!
$ gem install compass
$ compass create <myproject> --syntax sass

Note: Values indicated by <> are placeholders. Change them to suit your needs.

Note: $ is a placeholder for your terminal's prompt. You don't type it.
Then follow the instructions that compass provides in the output.
Hate the Command Line?

Try one of these Community supported GUI applications:
Compass.app from Handlino.
Scout from Mutually Human.
Next Steps
Learn about Sass
Read our tutorials
Study the reference documentation

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值