Examples of thumbnails and warning boxes in Bootstrap notes, and bootstrap instances

Source: Internet
Author: User

Examples of thumbnails and warning boxes in Bootstrap notes, and bootstrap instances

1. Basic thumbnails

Add a class to a labelclass="thumbnail"As follows:

<Div class = "row"> <div class = "col-md-3 col-sm-6"> <a href = "#" rel = "external nofollow" rel = "external nofollow" rel = "external nofollow "rel =" external nofollow "class =" thumbnail ">  </a> </div> <div class =" col-md-3 col-sm-6 "> <a href =" # "rel =" external nofollow "rel =" external nofollow "rel = "external nofollow" class = "thumbnail">  </a> </div> <div class =" col-md-3 col-sm-6"> <a href = "#" rel = "external nofollow" rel = "external nofollow" rel = "external nofollow" rel = "external nofollow" rel = "external nofollow" class = "thumbnail">  </a> </div> <div class = "col-md-3 col-sm-6"> <a href = "#" rel = "external nofollow" rel = "external nofollow" rel = "external nofollow" rel = "external nofollow" class = "thumbnail">  </a> </div>

2. Add thumbnail content

<Div class = "row"> <div class = "col-md-4 col-sm-6"> <div class = "thumbnail"> <a href = "#" rel = "external nofollow" rel = ""external nofollow" rel = "external nofollow">  </a> <div class =" caption "> 

3. Warning box

Click the cross sign in the upper right corner to close the Alert box. You can change the background colors alert-warning, alert-info, alert-success, and alert-danger.

Add a class to the Alert box that can be closed;alert-dismissibleAnd buttonsbutton.

You can also add a link in the warning box:

<P> message <a href = "#" rel = "external nofollow" rel = "external nofollow" rel = "external nofollow" class = "alert-link"> Baidu </a> </p> <div class = "alert-warning alert-dismissible"> <button type = "button" class = "close" data-dismiss = "alert"> × </button> <p> here is the prompt message </p> </div>

The above is a detailed description of the thumbnails and warning boxes of Bootstrap notes introduced by the editor. I hope this will be helpful to you. If you have any questions, please leave a message for me, the editor will reply to you in a timely manner. 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.