Installing sass and sass basics

What is Sass?

Sass stands for Syntactically Awesome Stylesheets. It is a scripting language that compiles sass code into css code. In css, there are no programming features such as variables, nesting, partials, imports, inheritance, and operators, etc. Sass understands all css code and those additional programming features. You write your html styling code in sass code with the help of all these programming features, and then compile the scss file into pure css file.

Install Sass

sass is built on Ruby, gem has to be installed first before installing sass. On ubuntu, install gem by sudo apt-get install ruby-full rubygems On Windows, install gem by downloading the installer from http://rubyinstaller.org/. On Mac, it comes with gem installed. After the gem is installed, run these commands to install sass and see the version.