Copyright Notice: Copyright, without permission prohibited reproduced! https://blog.csdn.net/weixin_43031412/article/details/91126069
- SASS - Introduction
- SASS - environment to build
- SASS - use program Sass
- SASS - Syntax
- SASS - variable
- SASS- local file (Partial)
- SASS - Mixed (Mixin)
- SASS - @extend (inherited) Directive
- SASS - Operators
- SASS - Functions
- SASS - Output format
Sass built environment is divided into two steps:
- Install Ruby, sass-based program so need to install Ruby Ruby
- Sass installation program
Installing Ruby
Ruby download the installation package from the official website: https://rubyinstaller.org/downloads/ , Ruby and complete the installation.
Sass installation program
After installing Ruby, open a command-line tool, enter the following command to install sass program
gem install sass
Sass installation verification program
Enter the following command on the command line, sass print version:
sass -v