.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 { background-color: #fa5151; border: 1px solid #de0606; } | button.danger { background-color: black; border-radius: 25px; border: 1px solid black; } |
Updated over 2 years ago