mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
readme: sass -> scss (beginner-friendly) [ci skip]
This commit is contained in:
parent
63c356403d
commit
7d6bf1994a
1 changed files with 8 additions and 8 deletions
16
README.md
16
README.md
|
@ -26,9 +26,9 @@ gem 'autoprefixer-rails'
|
||||||
|
|
||||||
`bundle install` and restart your server to make the files available through the pipeline.
|
`bundle install` and restart your server to make the files available through the pipeline.
|
||||||
|
|
||||||
In `app/assets/application.css.sass`:
|
In `app/assets/application.css.scss`:
|
||||||
|
|
||||||
```sass
|
```scss
|
||||||
@import "bootstrap-sprockets";
|
@import "bootstrap-sprockets";
|
||||||
@import "bootstrap";
|
@import "bootstrap";
|
||||||
```
|
```
|
||||||
|
@ -141,8 +141,8 @@ You can also import components explicitly. To start with a full list of modules
|
||||||
Then comment out components you do not want from `bootstrap-custom`.
|
Then comment out components you do not want from `bootstrap-custom`.
|
||||||
In the application Sass file, replace `@import 'bootstrap'` with:
|
In the application Sass file, replace `@import 'bootstrap'` with:
|
||||||
|
|
||||||
```sass
|
```scss
|
||||||
@import 'bootstrap-custom'
|
@import 'bootstrap-custom';
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Sass: Number Precision
|
#### Sass: Number Precision
|
||||||
|
@ -192,7 +192,7 @@ You can check dependencies in the [Bootstrap JS documentation][jsdocs].
|
||||||
|
|
||||||
The fonts are referenced as:
|
The fonts are referenced as:
|
||||||
|
|
||||||
```sass
|
```scss
|
||||||
"#{$icon-font-path}#{$icon-font-name}.eot"
|
"#{$icon-font-path}#{$icon-font-name}.eot"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -200,9 +200,9 @@ The fonts are referenced as:
|
||||||
|
|
||||||
When using with Compass, Sprockets, or Mincer, make sure to import the relevant path helpers before Bootstrap itself, for example:.
|
When using with Compass, Sprockets, or Mincer, make sure to import the relevant path helpers before Bootstrap itself, for example:.
|
||||||
|
|
||||||
```sass
|
```scss
|
||||||
@import bootstrap-compass
|
@import "bootstrap-compass";
|
||||||
@import bootstrap
|
@import "bootstrap";
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
Loading…
Add table
Reference in a new issue