Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Commit

Permalink
Add scss docs
Browse files Browse the repository at this point in the history
  • Loading branch information
minddust committed Apr 4, 2015
1 parent 2d288d5 commit cc2d38e
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,25 @@
* for the horizontal bar with no or filled text: __NO__
* for any vertical bars or the horizontal bar with centered text or right aligned bar: __YES__

less:
less:

```html
<link rel="stylesheet/less" type="text/css" href="bootstrap-progressbar.less">
```
```html
<link rel="stylesheet/less" type="text/css" href="bootstrap-progressbar.less">
<script src="less.js" type="text/javascript"></script>
```

or precompile it yourself. (see: [3rd party compilers](http://lesscss.org/usage/#third-party-compilers-node-js-compilers))

scss:
* need to precompile it yourself (see: [libsass](http://sass-lang.com/libsass))

css:
css:

```html
<link rel="stylesheet" type="text/css" href="bootstrap-progressbar.css">
```
```html
<link rel="stylesheet" type="text/css" href="bootstrap-progressbar.css">
```

you can find your needed css or less file inside the css or less folder.
you can find your needed css, less or scss files inside the specific subdirectories.

* Multiple trigger

Expand Down Expand Up @@ -221,6 +227,13 @@ to change the animation itself you have to overwrite either less or css
.transition(width 2s ease-in-out);
}
```
* scss

```css
.progress.vertical .progress-bar {
@include transition(width 2s ease-in-out);
}
```
* css

```css
Expand All @@ -241,6 +254,13 @@ to change the animation itself you have to overwrite either less or css
.transition(height 2s ease-in-out);
}
```
* scss

```css
.progress.vertical .bar {
@include transition(height 2s ease-in-out);
}
```
* css

```css
Expand Down

0 comments on commit cc2d38e

Please sign in to comment.