.button-danger class
Buttons that carry out important (and potentially irreversible) actions.
The following illustrations show:
-
The .button-danger style before applying CSS changes.
-
The .button-danger style after the background-color property has been changed to black and the border-radius property has been added.
| Default CSS | Modified CSS |
|---|---|
![]() | ![]() |
| button.danger {<br /> background-color: #fa5151;<br /> border: 1px solid #de0606;<br />} | button.danger {<br /> background-color: black;<br /> border-radius: 25px;<br /> border: 1px solid black; <br />} |
Updated 18 days ago


