Bootstrap Animated Progress Bar using Bootstrap-progressbar JS
In this post i give you example of how to use animated progress bar in bootstrap framework. there are several plugin available for progress bar bootstrap, but bootstrap-progressbar.js plugin is pretty simple to use and easily integrate with bootstrap.
bootstrap-progressbar.js plugin provide several animation progress bar on your page load like basic, themed, striped, animated, aria and animation. In this example i used animated progress bar.
You can also see bootstrap progress bar preview, demo and example code as bellow:
Preview:
Example:
<!DOCTYPE html>
<html lang="en-US" >
<title>Bootstrap progress bar animate example</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-progressbar/0.9.0/bootstrap-progressbar.min.js"></script>
<body>
<div class="container">
<h2 class="text-center">Bootstrap progress bar animate example</h2>
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-striped" role="progressbar" data-transitiongoal="25"></div>
</div>
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-success" role="progressbar" data-transitiongoal="45"></div>
</div>
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-info" role="progressbar" data-transitiongoal="65"></div>
</div>
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-warning" role="progressbar" data-transitiongoal="85"></div>
</div>
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-danger" role="progressbar" data-transitiongoal="100"></div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
$('.progress .progress-bar').progressbar({display_text: 'fill', use_percentage: false});
});
</script>
</body>
</html>
you get more information about bootstrap-progressbar plugin from here : Click Here.
Hardik Savani
I'm a full-stack developer, entrepreneur and owner of ItSolutionstuff.com. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Laravel, Angular, Vue, Node, Javascript, JQuery, Codeigniter and Bootstrap from the early stage. I believe in Hardworking and Consistency.
We are Recommending you
- Laravel Notification Alert using Bootstrap Notify Plugin Example
- Bootstrap - Input multiple tags example using Tag Manager Jquery Plugin
- Bootstrap Maxlength Validation with Count Remaining Characters Example
- JQuery Add Remove Input Fields Dynamically Example
- Bootstrap Multiple Select with Checkboxes using Bootstrap-multiselect.js JS
- Bootstrap SweetAlert Confirm Dialog Box Model Example
- JQuery Tooltip Example using JQuery UI Plugin
- Bootstrap Color Picker using Mjolnic Colorpicker Example
- How to Change View Mode in Bootstrap Datepicker Like yyyy-mm?
- Bootstrap Dynamic Autocomplete search using Typeahead JS
- Bootstrap Timepicker using Datetimepicker JS Example
- How to Add Dialog Box in Bootstrap?
- How to Add Tooltip in Bootstrap?
- How to use Datepicker in Bootstrap?