Search
 
SCRIPT & CODE EXAMPLE
 

HTML

bootstarp btn colors

<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>
Comment

custom color bootstrap buttonm

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #8064A2 !important;
}
Comment

bootstrap btn colors

<!-- 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>
Comment

btn-default class in bootstrap 4

<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>
Comment

Group Buttons in Bootstrap Red Yellow Green

<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>
Comment

Bootstrap custom button color

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #8064A2;
}
Comment

PREVIOUS NEXT
Code Example
Html :: open new tab when clicking link html 
Html :: markdown: text size 
Html :: how to make form not reload page 
Html :: markdown comment 
Html :: html link 
Html :: html indice 
Html :: html vedio 
Html :: select dropdown default value 
Html :: dont show suggestions in input hs 
Html :: make websites all-deivce compatible 
Html :: bs4 monospace 
Html :: mailto tag with line break 
Html :: how to change background image in html 
Html :: search icon html code 
Html :: angular element onhover 
Html :: html input type file accept excel 
Html :: bootstrap button tooltip 
Html :: jsf axonivy composite 
Html :: export website to html 
Html :: how to break between characters in html 
Html :: bootstrap text color 
Html :: magento 2 call phtml file in cms page 
Html :: css keep hyphenated words together 
Html :: what is html 5 
Html :: bootstrap button link 
Html :: href with new tab 
Html :: html email input 
Html :: csp react 
Html :: how to return false in html 
Html :: php prevent form resubmission 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =