Bootstrap Loading Button

gravatar
Bootstrap 3.3.7
Snippet by Anon
150 0
<div class="container">
    <h3>Bootstrap Loading Button with Font Awesome Icons</h3>
    <div class="form-horizontal">
    <div class="form-group">
        <div class="col-md-6">
            <button class="btn btn-default btn-lg"><i class="fa fa-circle-o-notch fa-spin"></i> Loading</button>
            <button class="btn btn-default btn-lg"><i class="fa fa-refresh fa-spin"></i> Loading</button>
            <button class="btn btn-default btn-lg"><i class="fa fa-spinner fa-spin"></i> Loading</button>
        </div>
        
        <div class="col-md-6">
            <button class="btn btn-primary btn-lg"><i class="fa fa-circle-o-notch fa-spin"></i> Loading</button>
            <button class="btn btn-primary btn-lg"><i class="fa fa-refresh fa-spin"></i> Loading</button>
            <button class="btn btn-primary btn-lg"><i class="fa fa-spinner fa-spin"></i> Loading</button>
        </div>
    </div>

    <div class="form-group">
        <div class="col-md-6">
            <button class="btn btn-danger btn-lg"><i class="fa fa-circle-o-notch fa-spin"></i> Loading</button>
            <button class="btn btn-danger btn-lg"><i class="fa fa-refresh fa-spin"></i> Loading</button>
            <button class="btn btn-danger btn-lg"><i class="fa fa-spinner fa-spin"></i> Loading</button>
        </div>
        
        <div class="col-md-6">
            <button class="btn btn-info btn-md"><i class="fa fa-circle-o-notch fa-spin"></i> Loading</button>
            <button class="btn btn-info btn-md"><i class="fa fa-refresh fa-spin"></i> Loading</button>
            <button class="btn btn-info btn-md"><i class="fa fa-spinner fa-spin"></i> Loading</button>
        </div>
    </div>


    <div class="form-group">
        <div class="col-md-6">
            <button class="btn btn-warning btn-sm"><i class="fa fa-circle-o-notch fa-spin"></i> Loading</button>
            <button class="btn btn-warning btn-sm"><i class="fa fa-refresh fa-spin"></i> Loading</button>
            <button class="btn btn-warning btn-sm"><i class="fa fa-spinner fa-spin"></i> Loading</button>
        </div>
        
        <div class="col-md-6">
            <button class="btn btn-success btn-xs"><i class="fa fa-circle-o-notch fa-spin"></i> Loading</button>
            <button class="btn btn-success btn-xs"><i class="fa fa-refresh fa-spin"></i> Loading</button>
            <button class="btn btn-success btn-xs"><i class="fa fa-spinner fa-spin"></i> Loading</button>
        </div>
    </div>
    
</div>
</div>
h3 {
    margin-top: 20px;
    margin-bottom: 50px;
}