1Fancy larger or smaller buttons? Add .btn-lg or .btn-sm for additional sizes.
2<button type="button" class="btn btn-primary btn-lg">Large button</button>
3<button type="button" class="btn btn-secondary btn-lg">Large button</button>
4
5<button type="button" class="btn btn-primary btn-sm">Small button</button>
6<button type="button" class="btn btn-secondary btn-sm">Small button</button>
7
8<button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button>
9<button type="button" class="btn btn-secondary btn-lg btn-block">Block level button</button>
10
11<a href="#" class="btn btn-primary btn-lg active" role="button" aria-pressed="true">Primary link</a>
12<a href="#" class="btn btn-secondary btn-lg active" role="button" aria-pressed="true">Link</a>
1<button type="button" class="btn btn-primary">Blue</button>
2<button type="button" class="btn btn-secondary">Grey</button>
3<button type="button" class="btn btn-success">Green</button>
4<button type="button" class="btn btn-danger">Red</button>
5<button type="button" class="btn btn-warning">Yellow</button>
6<button type="button" class="btn btn-info">Ligth blue</button>
7<button type="button" class="btn btn-light">White</button>
8<button type="button" class="btn btn-dark">Black</button>
9
10<button type="button" class="btn btn-link">White with blue text</button>
1In need of a button, but not the hefty background colors they bring?
2Replace the default modifier classes with the .btn-outline-* ones to
3remove all background images and colors on any button.
4
5<button type="button" class="btn btn-outline-primary">Primary</button>
6<button type="button" class="btn btn-outline-secondary">Secondary</button>
7<button type="button" class="btn btn-outline-success">Success</button>
8<button type="button" class="btn btn-outline-danger">Danger</button>
9<button type="button" class="btn btn-outline-warning">Warning</button>
10<button type="button" class="btn btn-outline-info">Info</button>
11<button type="button" class="btn btn-outline-light">Light</button>
12<button type="button" class="btn btn-outline-dark">Dark</button>
1<div class="btn-group">
2 <button type="button" class="btn btn-success">Add</button>
3 <button type="button" class="btn btn-warning">Update</button>
4 <button type="button" class="btn btn-danger">Delete</button>
5</div>
1<button type="button" class="btn btn-primary">Primary</button>
2<button type="button" class="btn btn-secondary">Secondary</button>
3<button type="button" class="btn btn-success">Success</button>
4<button type="button" class="btn btn-danger">Danger</button>
5<button type="button" class="btn btn-warning">Warning</button>
6<button type="button" class="btn btn-info">Info</button>
7<button type="button" class="btn btn-light">Light</button>
8<button type="button" class="btn btn-dark">Dark</button>
9
10<button type="button" class="btn btn-link">Link</button>
1<button type="button" class="btn btn-outline-primary">Primary</button>
2<button type="button" class="btn btn-outline-secondary">Secondary</button>
3<button type="button" class="btn btn-outline-success">Success</button>
4<button type="button" class="btn btn-outline-danger">Danger</button>
5<button type="button" class="btn btn-outline-warning">Warning</button>
6<button type="button" class="btn btn-outline-info">Info</button>
7<button type="button" class="btn btn-outline-light">Light</button>
8<button type="button" class="btn btn-outline-dark">Dark</button>