bootstap small button code example

Example 1: large button in bootstrap

<!-- Large buttons -->
<button type="button" class="btn btn-primary btn-lg">Large button</button>

<!-- Medium Buttons -->
<button type="button" class="btn btn-primary">Large button</button>

<!-- Small Buttons -->
<button type="button" class="btn btn-primary btn-sm">Large button</button>

<!-- Block Buttons -->
<button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button>

Example 2: all types of Bootstrap buttons

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

Tags:

Misc Example