-
Notifications
You must be signed in to change notification settings - Fork 1
/
SASS.txt
27 lines (20 loc) · 873 Bytes
/
SASS.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
====== SASS ======
Created Thursday 08 June 2017
===== Installation =====
**# In order to install the SASS pre-compiler, first install **//Ruby//
$ pacman -S ruby
**# Ruby provides you its own package manager, called **//gem//
**# Use **//gem//** to install **//SASS//
$ sudo gem install sass
**# Confirm its installation**
$ sass -v
===== Usage =====
**# Write you SASS in documents with a **//.scss //**suffix.**
**# Once satisfied, convert the document to a normal CSS file**
$ sass //input.scss output.css//
**# You may also have SASS watch a file, and change the output in live action**
**# Note the file separator : (colon)**
$ sass --watch input.scss:output.css
**# If you have a directory with several files, make SASS watch the whole directory and change the output live**
**# Note the file separator : (colon)**
$ sass --watch //input-dir//://output-dir//