Bootstrap how to use picture styles

Source: Internet
Author: User

There are several image styles in the bootstrap that allow you to quickly use them, and these styles are fairly simple to use, so let's take a look at how to quickly invoke the bootstrap image style .

bootstrap picture fillet style

In today's website construction, due to the trend of flat design, we often use some CSS3 features, such as fillets, gradients, shadows and so on. We can also use bootstrap to quickly fillet the image, the code is as follows: However, it is important to note that Because IE8 does not support fillet properties, this effect is not viewable by IE8 and the following browsers.

Bootstrap picture Circle style

In addition to the fillet style, we also like to use a circular image in some image calls, as well as a style for this case in bootstrap, the code is as follows:

Bootstrap thumbnail style

If we need to add a thumbnail to the article's profile, you can also set the image directly from the bootstrap image thumbnail style, the code is as follows:

bootstrap responsive Picture Style

Due to the popularity of responsive layout, we often need to introduce a response to the Web site processing, so as to adapt to each terminal, using bootstrap can also quickly achieve this goal, but also only need to add a responsive picture class:

written in the last Bootstrap picture-style classes really make it easier for us to call, and of course, if you have a custom image style, you can write your own picture style class in CSS based on their writing form.

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.