.button-danger class


Buttons that carry out important (and potentially irreversible) actions.

The following illustrations show:

  1. The .button-danger style before applying CSS changes.

  2. The .button-danger style after the background-color property has been changed to black and the border-radius property has been added.

Default CSSModified CSS
button.danger {
background-color: #fa5151;
border: 1px solid #de0606;
button.danger {
background-color: black;
border-radius: 25px;
border: 1px solid black;