Skip to content

Commit

Permalink
Merge pull request twbs#994 from twbs/readme-config
Browse files Browse the repository at this point in the history
README: Promote "Configuration" section to an <h2>
  • Loading branch information
cvrebert committed Dec 16, 2015
2 parents 70f6d4d + 362dc3a commit d07b756
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ $ npm install bootstrap-sass
```
### Configuration
## Configuration
#### Sass
### Sass
By default all of Bootstrap is imported.
Expand All @@ -197,18 +197,18 @@ In the application Sass file, replace `@import 'bootstrap'` with:
@import 'bootstrap-custom';
```
#### Sass: Number Precision
### Sass: Number Precision
bootstrap-sass [requires](https://github.com/twbs/bootstrap-sass/issues/409) minimum [Sass number precision][sass-precision] of 8 (default is 5).
Precision is set for Rails and Compass automatically.
When using ruby Sass compiler standalone or with the Bower version you can set it with:
When using Ruby Sass compiler standalone or with the Bower version you can set it with:
```ruby
::Sass::Script::Value::Number.precision = [8, ::Sass::Script::Value::Number.precision].max
```
#### Sass: Autoprefixer
### Sass: Autoprefixer
Bootstrap requires the use of [Autoprefixer][autoprefixer].
[Autoprefixer][autoprefixer] adds vendor prefixes to CSS rules using values from [Can I Use](http://caniuse.com/).
Expand All @@ -227,7 +227,7 @@ To match [upstream Bootstrap's level of browser compatibility](http://getbootstr
]
```

#### JavaScript
### JavaScript

[`assets/javascripts/bootstrap.js`](/assets/javascripts/bootstrap.js) contains all of Bootstrap's JavaScript,
concatenated in the [correct order](/assets/javascripts/bootstrap-sprockets.js).
Expand All @@ -251,7 +251,7 @@ You can check dependencies in the [Bootstrap JS documentation][jsdocs].
//= require bootstrap/dropdown
```
#### Fonts
### Fonts
The fonts are referenced as:
Expand Down

0 comments on commit d07b756

Please sign in to comment.