Merge pull request #1042 from tldr-pages/sass

sass: various tweaks
waldyrious/alt-syntax
Agniva De Sarker 2016-09-08 11:23:02 +05:30 committed by GitHub
commit efaa91cb48
1 changed files with 5 additions and 5 deletions

View File

@ -1,19 +1,19 @@
# Sass # sass
> Converts SCSS or Sass files to CSS. > Converts SCSS or Sass files to CSS.
- Output converted file to stdout: - Convert a SCSS or Sass file to CSS and print out the result:
`sass {{inputfile.scss|inputfile.sass}}` `sass {{inputfile.scss|inputfile.sass}}`
- Immediately convert SCSS or Sass file to CSS to specified output file: - Convert a SCSS or Sass file to CSS and save the result to a file:
`sass {{inputfile.scss|inputfile.sass}} {{outputfile.css}}` `sass {{inputfile.scss|inputfile.sass}} {{outputfile.css}}`
- Watch SCSS or Sass file for changes and output or update CSS file with same filename: - Watch a SCSS or Sass file for changes and output or update the CSS file with same filename:
`sass --watch {{inputfile.scss|inputfile.sass}}` `sass --watch {{inputfile.scss|inputfile.sass}}`
- Watch SCSS or Sass file for changes and output or update CSS file with specified filename: - 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}}` `sass --watch {{inputfile.scss|inputfile.sass}}:{{outputfile.css}}`