“Surrine -Taste CSS” Code-Antworten

Bootstrap -Umrissknöpfe

In need of a button, but not the hefty background colors they bring? 
Replace the default modifier classes with the .btn-outline-* ones to 
remove all background images and colors on any button.

<button type="button" class="btn btn-outline-primary">Primary</button>
<button type="button" class="btn btn-outline-secondary">Secondary</button>
<button type="button" class="btn btn-outline-success">Success</button>
<button type="button" class="btn btn-outline-danger">Danger</button>
<button type="button" class="btn btn-outline-warning">Warning</button>
<button type="button" class="btn btn-outline-info">Info</button>
<button type="button" class="btn btn-outline-light">Light</button>
<button type="button" class="btn btn-outline-dark">Dark</button>
Dev

Surrine -Taste CSS

.btn {
  border: 2px solid black;
  background-color: white;
  color: black;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
}

/* Green */
.success {
  border-color: #04AA6D;
  color: green;
}

.success:hover {
  background-color: #04AA6D;
  color: white;
}
Azizul7m

Bootstrap -Schaltfläche Umriss

<button type="button" class="btn btn-outline-primary" href="#">Primary</button>
TheDevStar

Ähnliche Antworten wie “Surrine -Taste CSS”

Fragen ähnlich wie “Surrine -Taste CSS”

Weitere verwandte Antworten zu “Surrine -Taste CSS” auf CSS

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen