-
Mark Otto authored
Conflicts: Makefile README.md component.json docs/assets/css/bootstrap-responsive.css docs/assets/css/bootstrap.css docs/assets/js/bootstrap-affix.js docs/assets/js/bootstrap-alert.js docs/assets/js/bootstrap-button.js docs/assets/js/bootstrap-carousel.js docs/assets/js/bootstrap-collapse.js docs/assets/js/bootstrap-dropdown.js docs/assets/js/bootstrap-modal.js docs/assets/js/bootstrap-popover.js docs/assets/js/bootstrap-scrollspy.js docs/assets/js/bootstrap-tab.js docs/assets/js/bootstrap-tooltip.js docs/assets/js/bootstrap-transition.js docs/assets/js/bootstrap-typeahead.js docs/assets/js/bootstrap.js docs/assets/js/bootstrap.min.js docs/index.html docs/templates/pages/index.mustache js/bootstrap-affix.js js/bootstrap-alert.js js/bootstrap-button.js js/bootstrap-carousel.js js/bootstrap-collapse.js js/bootstrap-dropdown.js js/bootstrap-modal.js js/bootstrap-popover.js js/bootstrap-scrollspy.js js/bootstrap-tab.js js/bootstrap-tooltip.js js/bootstrap-transition.js js/bootstrap-typeahead.js less/bootstrap.less less/responsive.less package.json
a70c50d1
layout: page
title: Progress
Stylize the HTML5 <progress>
element with a few extra classes and some crafty browser-specific CSS. Be sure to read up on the browser support.
Example
{% example html %} 0% 25% 50% 75% 100% {% endexample %}
IE9 support
Internet Explorer 9 doesn't support the HTML5 <progress>
element, but we can work around that.
{% example html %}
Contextual alternatives
Progress bars use some of the same button and alert classes for consistent styles.
{% example html %} 25% 50% 75% 100% {% endexample %}
Striped
Uses a gradient to create a striped effect.
{% example html %} 10% 25% 50% 75% 100% {% endexample %}
Animated stripes
The striped gradient can also be animated. Add .progress-animated
to .progress
to animate the stripes right to left via CSS3 animations.
Animated progress bars do not work in IE9 and Opera 12 as they don't support CSS3 animations.
{% highlight html %} 25% {% endhighlight %}