bootstrap ajax loader code example

Example 1: circlular waiting icon bootstrap

<div class="spinner-border" role="status">
  <span class="sr-only">Loading...</span>
</div>

Example 2: bootstrap loader

<button class="btn btn-primary" type="button" disabled>
  <span class="spinner-grow spinner-grow-sm" role="status" aria-hidden="true"></span>
  <span class="sr-only">Loading...</span>
</button>
<button class="btn btn-primary" type="button" disabled>
  <span class="spinner-grow spinner-grow-sm" role="status" aria-hidden="true"></span>
  Loading...
</button>

Tags:

Html Example