Skip to content

Commit

Permalink
Update styling-css.md (#20679)
Browse files Browse the repository at this point in the history
file type formatting
  • Loading branch information
Ar3Tea authored and bball07 committed Jan 20, 2020
1 parent 3cb2694 commit 1296c33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docs/recipes/styling-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ Notice that the file extension is `.module.css` instead of `.css`, which tells G

Sass is an extension of CSS that gives you more advanced features like nested rules, variables, mixins, and more.

Sass has 2 syntaxes. The most commonly used syntax is "SCSS", and is a superset of CSS. That means all valid CSS syntax, is valid SCSS syntax. SCSS files use the extension .scss
Sass has 2 syntaxes. The most commonly used syntax is "SCSS", and is a superset of CSS. That means all valid CSS syntax, is valid SCSS syntax. SCSS files use the extension `.scss`

Sass will compile .scss and .sass files to .css files for you, so you can write your stylesheets with more advanced features.
Sass will compile `.scss` and `.sass` files to `.css` files for you, so you can write your stylesheets with more advanced features.

### Prerequisites

Expand Down Expand Up @@ -257,7 +257,7 @@ import "./styles.scss"
import "./styles.sass"
```

_Note: You can use Sass/SCSS files as modules too, like mentioned in the previous recipe about CSS modules, with the difference that instead of .css the extensions have to be .scss or .sass_
_Note: You can use Sass/SCSS files as modules too, like mentioned in the previous recipe about CSS modules, with the difference that instead of `.css` the extensions have to be `.scss` or `.sass_`

### Additional resources

Expand Down

0 comments on commit 1296c33

Please sign in to comment.