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.