A preprocessor is a program that takes one type of data and converts it to another type of data.
CSS preprocessor is basically a scripting language that extends CSS and then compiles it into regular CSS.
- Less
- Sass
Sass (Syntactically Awesome StyleSheets) is a CSS pre-processor, that extends the CSS language by adding features like variables, mixins, functions, nested rules, selector inheritance.
Scss (Sassy ) – In scss we use brackets and semicolons and the extension is .scss .
Sass - In sass we follow the indentation of lines and the extension is .sass.
- npm install gulp-angular2-embed-sass --save-dev
- npm install gulp
- npm install
- npm start -- --scss