How to setup your styling environment?
If you are styling your site using CSS, then its time for now to use Sass. Sass is a powerful professional grade CSS extension language in the world. You need to have Ruby installed in order to run Sass.
Ruby Installation
- Download RubyInstaller from http://rubyinstaller.org/downloads/.
- Execute the installer and go
through the steps of the installation. When you get to the screen below,
make sure to check the “Add Ruby executables to your PATH” box.
- Click Install.
- You can check your ruby version by typing “ruby -v” in your command prompt
Sass Installation
- Open
your command prompt
- To
install Sass, type “gem install sass”. This will install Sass and any dependencies for you. If you get
an error message then you will need to use the “sudo” command to install
the Sass gem. It will look as follows,
“sudo gem install sass”
- You should now have Sass installed. You can check that by typing
“sass -v” in your command prompt. This will return your Sass version.
Compass Installation
Compass writes Sass syntaxes in to CSS. Sass and compass get
installed with Ruby gems
- Install
compass.Type the following command in the command prompt
“gem
install compass”
“gem
install breakpoint”
- You
can check whether the compass has successfully installed by typing
“compass
version”
Susy Installation
Susy is a plugin to Compass that allows you to create customizable grid frameworks easily.
- Install Susy. Type the following command in the command prompt
“gem
install susy”

Comments
Post a Comment