Progress bar of Bootstrap learning notes, details of media object instances, and bootstrap learning notes

Source: Internet
Author: User

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!

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.