1, first to install sass, installation process:
Http://www.w3cplus.com/sassguide/install.html
2. Sublime text installs the package control (a friend who has already installed the package control can skip this step).
A, sublime text, press the shortcut key to bring up the console: Ctrl + '
b, copy the package control installation code in the console, and the code is available at the website: https://packagecontrol.io/installation#Simple
3, after the successful installation of the package control, shortcut key ctrl+shift+p, bring up the control.
4, enter the install package in the Panel to bring up the online sublime plug-in library, there may be a network speed reason to wait a while.
Install the SASS and Sass build plugins separately
5. Create a new Test.scss file with sublime Text 3
$color: #369;
Body {
Background:darken ($color, 10%);
}
Press Ctrl+b to compile successfully. Tips:
[Finished in 1.0s]
6. Compilation format selection, tools → compilation method (build with ...) : Sass (expanded version) and sass-compressed (compressed version), compiler shortcut key: Ctrl+b
Sublime Text 3 compilation sass-sublime text installation Sass Plugin