mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 21:59:34 +00:00
Update cheatsheets
This commit is contained in:
25
sass
Normal file
25
sass
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sass
|
||||
|
||||
> Converts SCSS or Sass files to CSS.
|
||||
> More information: <https://sass-lang.com/documentation/cli/dart-sass>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user