<button type="button" class="btn btn-primary">Blue</button>
<button type="button" class="btn btn-secondary">Grey</button>
<button type="button" class="btn btn-success">Green</button>
<button type="button" class="btn btn-danger">Red</button>
<button type="button" class="btn btn-warning">Yellow</button>
<button type="button" class="btn btn-info">Ligth blue</button>
<button type="button" class="btn btn-light">White</button>
<button type="button" class="btn btn-dark">Black</button>
<button type="button" class="btn btn-link">White with blue text</button>
.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
background-color: #8064A2 !important;
}
<!-- Bootstrap v5.0 -->
<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
<button type="button" class="btn btn-success">Success</button>
<button type="button" class="btn btn-danger">Danger</button>
<button type="button" class="btn btn-warning">Warning</button>
<button type="button" class="btn btn-info">Info</button>
<button type="button" class="btn btn-light">Light</button>
<button type="button" class="btn btn-dark">Dark</button>
<button type="button" class="btn btn-link">Link</button>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<div class="container m-3">
<a class="btn btn-outline-secondary">outline-secondary link</a>
<button type="button" class="btn btn-outline-secondary">outline-secondary 'button'</button>
<br><br>
<a class="btn btn-outline-light">outline-light link</a>
<button type="button" class="btn btn-outline-light">outline-light 'button'</button>
</div>
<div class="btn-group" role="group" aria-label="Basic outlined example">
<button type="button" class="btn btn-outline-primary">Left</button>
<button type="button" class="btn btn-outline-primary">Middle</button>
<button type="button" class="btn btn-outline-primary">Right</button>
</div>
.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
background-color: #8064A2;
}
Code Example |
---|
Html :: Meta keyword tag in html |
Html :: what should base_generic.html look like |
Html :: import html display |
Html :: can i write php code in html file |
Html :: hyperlinks in html |
Html :: Tables in html |
Html :: tailwind css forms |
Html :: index.html is stored in folder github |
Html :: text -center bootstrap |
Html :: html sup tag |
Html :: what is mongoose |
Html :: how to highlight any text in html and css |
Html :: html code tag |
Html :: the <video tag |
Html :: fix form refresh sites html |
Html :: html textarea auto height to amount of text |
Html :: html include html page |
Html :: comment html |
Html :: table bootstrap |
Html :: html place div on background image |
Html :: html with lang |
Html :: reset button javascript onclick |
Html :: height 100% tailwind |
Html :: insert text html |
Html :: using bootstrap toast in mvc view |
Html :: how to make option colour black in html |
Html :: nunjucks loop n times |
Html :: Remove html from string in sql |
Html :: html render div |
Html :: TAKE PICTURES HTML |