1In need of a button, but not the hefty background colors they bring?
2Replace the default modifier classes with the .btn-outline-* ones to
3remove all background images and colors on any button.
4
5<button type="button" class="btn btn-outline-primary">Primary</button>
6<button type="button" class="btn btn-outline-secondary">Secondary</button>
7<button type="button" class="btn btn-outline-success">Success</button>
8<button type="button" class="btn btn-outline-danger">Danger</button>
9<button type="button" class="btn btn-outline-warning">Warning</button>
10<button type="button" class="btn btn-outline-info">Info</button>
11<button type="button" class="btn btn-outline-light">Light</button>
12<button type="button" class="btn btn-outline-dark">Dark</button>
1.btn {
2 border: 2px solid black;
3 background-color: white;
4 color: black;
5 padding: 14px 28px;
6 font-size: 16px;
7 cursor: pointer;
8}
9
10/* Green */
11.success {
12 border-color: #04AA6D;
13 color: green;
14}
15
16.success:hover {
17 background-color: #04AA6D;
18 color: white;
19}