Bootstrap CSS layout image _javascript techniques

Source: Internet
Author: User

This article shared the bootstrap CSS layout of the image for your reference, the specific content as follows

img-rounded, Img-circle, img-thumbnail (zoom graph mode)

Source code
img {
 vertical-align:middle;
}
. Img-responsive,
. Thumbnail > img,
. Thumbnail a > img,
. Carousel-inner >. Item > IMG
. Carousel-inner > Item > A > img {
 display:block;
 max-width:100%;
 Height:auto
}
. img-rounded {
 border-radius:6px;
}
Thumbnail mode
. img-thumbnail {
 display:inline-block;
 max-width:100%;
 Height:auto;
 padding:4px;
 line-height:1.42857143;
 Background-color: #fff;
 border:1px solid #ddd;
 border-radius:4px;
 -webkit-transition:all 2s ease-in-out;
  -o-transition:all 2s ease-in-out;
   Transition:all 2s ease-in-out;
img-circle {
 border-radius:50%;
}

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.