sass_basic

Writing CSS is fun in itself, but when a style sheet becomes huge, it becomes difficult to maintain it. And in this case, the preprocessor will help us. Sass allows you to use functions that are not available in the CSS itself, for example, variables, nesting, mixins, inheritance, and other nice things that return the convenience of writing CSS.

1
2
CSS

Sass Basics

From: Основы Sass

Install Sass:

sudo npm install -g sass

Compile:

sass sass/style.scss css/style.css
  1. Variables
  2. Nesting
  3. Mixin
  4. Import
  5. Extend
  6. Math operation