Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
silviomoreto committed Sep 26, 2012
1 parent b3f7bdb commit 3eb2459
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ A custom select for @twitter bootstrap using button dropdown; originally by Silv

## Observation

For properly work on some browser, you need to add a ('.clearfix') class to your css.
For properly work on some browser, you need to add a `.clearfix` class to your css.

# Usage

Create yours (`<select>`) and add to them the class (`.selectpicker`), like example below:
Create yours `<select>` and add to them the class `.selectpicker`, like example below:

<select class="selectpicker">
<option>Mostard</select>
Expand All @@ -21,7 +21,7 @@ In your javascript, just add the line:

$('.selectpicker').selectpicker();

You can also pass a button bootstrap class to your select using the option (`btnStyle`), like:
You can also pass a button bootstrap class to your select using the option `btnStyle`, like:

$('.selectpicker').selectpicker({
btnStyle: 'btn-info'
Expand Down

0 comments on commit 3eb2459

Please sign in to comment.