diff --git a/pages.pl/common/sass.md b/pages.pl/common/sass.md new file mode 100644 index 000000000..b264c9597 --- /dev/null +++ b/pages.pl/common/sass.md @@ -0,0 +1,20 @@ +# sass + +> Converts SCSS or Sass files to CSS. +> More information: . + +- Convert a SCSS or Sass file to CSS and print out the result: + +`sass {{inputfile.scss|inputfile.sass}}` + +- Convert a SCSS or Sass file to CSS and save the result to a file: + +`sass {{inputfile.scss|inputfile.sass}} {{outputfile.css}}` + +- Watch a SCSS or Sass file for changes and output or update the CSS file with same filename: + +`sass --watch {{inputfile.scss|inputfile.sass}}` + +- Watch a SCSS or Sass file for changes and output or update the CSS file with the given filename: + +`sass --watch {{inputfile.scss|inputfile.sass}}:{{outputfile.css}}`