Hey! How's it going?
Not bad... i guess. What about you? Haven't gotten any updates from you in a long time.
Yeah! I've been a bit busy lately. I'll get back to you soon enough.
Alright, take care then.
Group a series of buttons together on a single line with the button group. Wrap a series of buttons with .btn
in .btn-group
.
Horizontal Group | With Icons | Multiple Button Groups |
---|---|---|
|
|
Make a set of buttons appear vertically stacked rather than horizontally by putting it in .btn-group-vertical
.
Here are some basic button colors and custom colors that comes in two different styles. Simply use any color class you like from the table above.
Color Classes | Button Colors | Color Classes Alt | Button Colors Alt |
---|---|---|---|
.btn-default |
Default | .btn-default-alt |
Default |
.btn-primary |
Primary | .btn-primary-alt |
Primary |
.btn-success |
Success | .btn-success-alt |
Success |
.btn-info |
Info | .btn-info-alt |
Info |
.btn-warning |
Warning | .btn-warning-alt |
Warning |
.btn-danger |
Danger | .btn-danger-alt |
Danger |
.btn-inverse |
Inverse | .btn-inverse-alt |
Inverse |
.btn-brown |
Brown | .btn-brown-alt |
Brown |
.btn-sky |
Sky Blue | .btn-sky-alt |
Sky Blue |
.btn-midnightblue |
Midnight Blue | .btn-midnightblue-alt |
Midnight Blue |
.btn-orange |
Orange | .btn-orange-alt |
Orange |
.btn-green |
Green | .btn-green-alt |
Green |
.btn-magenta |
Magenta | .btn-magenta-alt |
Magenta |
Create as many button colors as you want easily with the included LESS Mixins in just three lines! For example if you want to create other colored buttons, simply add this line in the buttons.less file
.btn-COLORNAME { .button-variant(#TEXTCOLOR, #BACKGROUNDCOLOR, #BORDERCOLOR); }
or, for alternate buttons
.btn-COLORNAME-alt { .button-variant-alt(#TEXTCOLOR, #BACKGROUNDCOLOR, #BORDERCOLOR); }