mirror of
https://github.com/danog/sass-site.git
synced 2025-01-21 21:31:34 +01:00
Escape underscores in file names on import example
This commit is contained in:
parent
d8ddc1af65
commit
760104ea21
@ -75,7 +75,7 @@ title: Sass Basics
|
||||
|
||||
CSS has an import option that lets you split your CSS into smaller, more maintainable portions. The only drawback is that each time you use <code>@import</code> in CSS it creates another HTTP request. Sass builds on top of the current CSS <code>@import</code> but instead of requiring an HTTP request, Sass will take the file that you want to import and combine it with the file you're importing into so you can serve a single CSS file to the web browser.
|
||||
|
||||
Let's say you have a couple of Sass files, <code>_reset.scss</code> and <code>base.scss</code>. We want to import <code>_reset.scss</code> into <code>base.scss</code>.
|
||||
Let's say you have a couple of Sass files, <code>\_reset.scss</code> and <code>base.scss</code>. We want to import <code>\_reset.scss</code> into <code>base.scss</code>.
|
||||
|
||||
~ partial "code-snippets/homepage-import-1-scss"
|
||||
~ partial "code-snippets/homepage-import-2-scss"
|
||||
|
Loading…
x
Reference in New Issue
Block a user