Default
Apply .btn
class to give default styling.
.btn-primary
.btn-outline-primary
<button class="btn btn-primary mb-2">Primary</button> <button class="btn btn-outline-primary mb-2">Primary</button>
Rounded
Use .btn-rounded
to make buttons rounded.
<button class="btn btn-primary btn-rounded mb-2">Primary</button> <button class="btn btn-outline-primary btn-rounded mb-2">Primary</button>
Solid
Apply .btn-*
class followed by .btn
class to create default buttons.
<!-- Primary --> <button class="btn btn-primary mb-2">Primary</button> <!-- Info --> <button class="btn btn-info mb-2">Info</button> <!-- Success --> <button class="btn btn-success mb-2">Success</button> <!-- Warning --> <button class="btn btn-warning mb-2">Warning</button> <!-- Danger --> <button class="btn btn-danger mb-2">Danger</button> <!-- Secondary --> <button class="btn btn-secondary mb-2">Secondary</button> <!-- Dark --> <button class="btn btn-dark mb-2">Dark</button>
Outline
Apply .btn-outline-*
class followed by .btn
class to create outline buttons.
<!-- Primary --> <button class="btn btn-outline-primary mb-2">Primary</button> <!-- Info --> <button class="btn btn-outline-info mb-2">Info</button> <!-- Success --> <button class="btn btn-outline-success mb-2">Success</button> <!-- Warning --> <button class="btn btn-outline-warning mb-2">Warning</button> <!-- Danger --> <button class="btn btn-outline-danger mb-2">Danger</button> <!-- Secondary --> <button class="btn btn-outline-secondary mb-2">Secondary</button> <!-- Dark --> <button class="btn btn-outline-dark mb-2">Dark</button>
Button Sizes
<button class="btn btn-primary mb-4 mr-2 btn-lg">Large button</button> <button class="btn btn-secondary mb-4 mr-2">Default button</button> <button class="btn btn-warning mb-4 mr-2 btn-sm">Small button</button> <button class="btn btn-dark mb-4 mr-2 btn-sm disabled">Disabled Button</button>
Button with Icons
<button class="btn btn-primary mb-2 mr-2"><svg> ... </svg> Left</button> <button class="btn btn-warning mb-2 mr-2 btn-rounded">Right <svg> ... </svg></button> <button class="btn btn-danger mb-2 mr-2"><svg> ... </svg></button> <button class="btn btn-dark mb-2 mr-2 rounded-circle"><svg> ... </svg></button>
Block Buttons
<button class="btn btn-primary btn-block mb-4 mr-2">Button</button> <input type="submit" class="btn btn-info btn-block mb-4 mr-2" value="Input"> <a href="javascript:void(0);" class="btn btn-success btn-block mb-4 mr-2">Link</a>
© 2021 DesignReset
Coded with
Alan Green
Lead Developer
Todo
Launch New Seo Wordpress Theme has been moved to Completed Board by Alma Clark
New Task is added by Ernest Reeves
Dinner with Kelly Young has been moved to Completed Board by Dale Butler
Event Notifications
New Event has been added on 15 Dec 2020
Collect documents from Kelly at the restaurant tommorrow.
Meeting Event on 12 Nov has been updated to 8 PM
New Event Seminar organised by Design Reset will be held on 25 January
Today's Conference is Cancelled.
Meeting with Project Lead on 01 Jan has been updated to 15 Jan