boostrap 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: bootstrap buttons

<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">Orange</button>
<button type="button" class="btn btn-info">Navy Blue</button>
<button type="button" class="btn btn-light">Light Grey</button>
<button type="button" class="btn btn-dark">Black</button>

<button type="button" class="btn btn-link">Link</button>

Tags:

Html Example