Bootstrap provides some options to style buttons. Use utilities to design unique buttons for any application, which are summarized in the following table −
Sr.No. | Class & Description |
---|---|
1 | btnDefault/ Standard button. |
2 | btn-primaryProvides extra visual weight and identifies the primary action in a set of buttons. |
3 | btn-successIndicates a successful or positive action. |
4 | btn-infoContextual button for informational alert messages. |
5 | btn-warningIndicates caution should be taken with this action. |
6 | btn-dangerIndicates a dangerous or potentially negative action. |
7 | btn-linkDeemphasize a button by making it look like a link while maintaining button behavior. |
Leave a Reply