Bootstrap Loading Button
Bootstrap 3.3.7,
Snippet by Anon
4957 0
Resources
<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; }
{} CSS Resources
https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css
https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css