Progress bar of Bootstrap learning notes, details of media object instances, and bootstrap learning notes
1. Basic progress bar
To be written in<div class="progress"></div>
.
<div class="col-md-6"> <div class="progress"> <div class="progress-bar" style="width:30%;"></div> </div></div>
2. Colorful progress bar
<div class="col-md-6"> <div class="progress"> <div class="progress-bar" style="width:30%;"></div> </div> <div class="progress"> <div class="progress-bar progress-bar-danger" style="width:40%;"></div> </div> <div class="progress"> <div class="progress-bar progress-bar-info" style="width:50%;"></div> </div> <div class="progress"> <div class="progress-bar progress-bar-warning" style="width:60%;"></div> </div> <div class="progress"> <div class="progress-bar progress-bar-success" style="width:70%;"></div> </div></div>
3. Striped progress bar
Add the class progress-striped based on the class progress as follows:
<div class="progress progress-striped"> <div class="progress-bar" style="width:30%;"></div></div>
4. progress bar animation style
Add a class active to the progress bar as follows:
<div class="progress progress-striped"> <div class="progress-bar active" style="width:30%;"></div></div>
5. Stacked progress bar
Are written in a progress, as follows:
<div class="progress"> <div class="progress-bar progress-bar-success" style="width:10%;"></div> <div class="progress-bar progress-bar-warning" style="width:20%;"></div> <div class="progress-bar progress-bar-info" style="width:30%;"></div></div>
6. Media objects
A media object is a mix of text and text. Images and videos can be on the left. On the right is the description.
<Div class = "col-md-6"> <div class = "media"> <div class = "media-left media-middle"> <a href = "#" rel = "external nofollow "> </a> </div> <div class = "media-body">
The above is a detailed description of the Bootstrap progress bar and media object instance introduced by the editor. I hope it will help you. If you have any questions, please leave a message and the editor will reply to you in time. Thank you very much for your support for the help House website!