Multiple bootstrap style progress bars and bootstrap progress bars

Source: Internet
Author: User

Multiple bootstrap style progress bars and bootstrap progress bars

We have shared a variety of bootstrap progress bar styles for your reference. The specific content is as follows:

1. Default progress bar
Add a class. div SS div, add a class in it. the empty div of progress-bar. Add a style attribute in percentage for the empty div. For example, style = "60%" indicates that the progress bar is at the position of 60%.

2. progress bar of different styles
Add a class. div SS div, add a class in it. progress-bar and class. progress-bar-* (* Can be success, info, warning, danger) Empty div. Add a style attribute in percentage for the empty div, for example, style = "60%" indicates that the progress bar is at the position of 60%.

3. stripe progress bar
Add a class. progress and class. progress-striped and class. add a div with a class in it. the empty div of progress-bar. Add a style attribute in percentage for the empty div. For example, style = "60%" indicates that the progress bar is at the position of 60%.

4. animation progress bar
Add a class. progress and class. div SS-striped div, add a class in it. the empty div of progress-bar. Add a style attribute in percentage for the empty div. For example, style = "60%" indicates that the progress bar is at the position of 60%.

5. Stacked progress bar
You can stack multiple progress bars in the same. progress.

<Div id = "out"> default progress bar: <div class = "progress"> <div class = "progress-bar" role = "progressbar" aria-valuenow = "60" aria-valuemin = "0" aria-valuemax = "100" style = "width: 60%; "> </div> progress bar of different styles: <div class = "progress"> <div class = "progress-bar-success" role = "progressbar" aria-valuenow = "80" aria-valuemin = "0 "aria-valuemax =" 100 "style =" width: 80%; "> </div> <div class =" progress "> <div class =" progress-bar-info "role =" progressbar "aria-valuenow = "60" aria-valuemin = "0" aria-valuemax = "100" style = "width: 60%; "> </div> <div class =" progress "> <div class =" progress-bar-warning "role =" progressbar "aria-valuenow = "40" aria-valuemin = "0" aria-valuemax = "100" style = "width: 40%; "> </div> <div class =" progress "> <div class =" progress-bar-danger "role =" progressbar "aria-valuenow = "20" aria-valuemin = "0" aria-valuemax = "100" style = "width: 20%; "> </div> stripe progress bar: <div class = "progress-striped"> <div class = "progress-bar-success" role = "progressbar" aria-valuenow = "80" aria-valuemin = "0" aria-valuemax = "100" style = "width: 80%; "> </div> <div class =" progress-striped "> <div class =" progress-bar-info "role =" progressbar" aria-valuenow = "60" aria-valuemin = "0" aria-valuemax = "100" style = "width: 60%; "> </div> <div class =" progress-striped "> <div class =" progress-bar-warning "role =" progressbar" aria-valuenow = "40" aria-valuemin = "0" aria-valuemax = "100" style = "width: 40%; "> </div> <div class =" progress-striped "> <div class =" progress-bar-danger "role =" progressbar" aria-valuenow = "20" aria-valuemin = "0" aria-valuemax = "100" style = "width: 20%; "> </div> progress bar of the animation: <div class = "progress-striped active"> <div class = "progress-bar-success" role = "progressbar" aria-valuenow = "80" aria- valuemin = "0" aria-valuemax = "100" style = "width: 80%; "> </div> <div class =" progress-striped active "> <div class =" progress-bar-info "role =" progressbar "aria-valuenow =" 60 "aria-valuemin =" 0 "aria-valuemax =" 100 "style =" width: 60%; "> </div> <div class =" progress-striped active "> <div class =" progress-bar-warning "role =" progressbar "aria-valuenow =" 40 "aria-valuemin =" 0 "aria-valuemax =" 100 "style =" width: 40%; "> </div> <div class =" progress-striped active "> <div class =" progress-bar-danger "role =" progressbar "aria-valuenow =" 20 "aria-valuemin =" 0 "aria-valuemax =" 100 "style =" width: 20%; "> </div> stack progress bar: <div class = "progress"> <div class = "progress-bar-success" role = "progressbar" aria-valuenow = "40" aria-valuemin = "0 "aria-valuemax =" 100 "style =" width: 40%; "> </div> <div class =" progress-bar-info "role =" progressbar "aria-valuenow =" 20 "aria-valuemin =" 0 "aria -valuemax = "100" style = "width: 20%; "> </div> <div class =" progress-bar-warning "role =" progressbar "aria-valuenow =" 10 "aria-valuemin =" 0 "aria -valuemax = "100" style = "width: 10%; "> </div> <div class =" progress-bar-danger "role =" progressbar "aria-valuenow =" 5 "aria-valuemin =" 0 "aria -valuemax = "100" style = "width: 5%; "> </div>

:

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.