Includes multiple button designs
You can apply button classes to <a>
, <button>
, or <input>
tags.
There are eight outline-style (bordered) buttons available
Move the mouse over them to see an additional "hover" effect:
Apply the .btn-lg
class to make buttons larger, or .btn-sm
for smaller buttons
To make a full-width block button, add the .d-grid
helper class to the parent element.
A button can be made active (looks pressed) or disabled (can’t be clicked).
The .active
class gives a button a pressed look, while the disabled
attribute makes it unclickable. For <a>
elements, since they don’t support the disabled
attribute, use the .disabled
class to make them look disabled
Spinners can also be added to buttons — you’ll learn more about them in our upcoming section.