Sass is the most mature, stable, and powerful professional grade CSS extension language in the world.
Sass is completely compatible with all versions of CSS. We take this compatibility seriously, so that you can seamlessly use any available CSS libraries.
The style file extensions will be .scss
.
Use _
at the beginning of any .scss
file so it won't compile.
I made this template for future projects I do using Sass.
- Create a repository from this template.
- Clone the repository in your PC.
- Install the modules with
npm install
. - Now you can use the scripts to compile the Sass files.
This project runs on node.js
. Install Node for npm to use.
Run npm install
in the project directory and make sure it passes.
In this project you can run the following Scripts:
Compile all the sass code into the ./src/scss/
folder.
Use _
at the beginning of any .scss
file so it won't compile.
Does the same as npm css-compile
and then minifies the compiled files.
This is very useful when uploading a file to production.
This project is created from Sass Boilerplate.