Bootstrap--a label with Col-xs, COL-SM, COL-MD, COL-LG

Source: Internet
Author: User

. col-xs-Ultra Small Screen phone (<768px)

. col-sm-Small Screen tablet (≥768px)

. col-md-Medium-screen desktop display (≥992px)

. col-lg-Large-screen large desktop display (≥1200px)

HTML code:

<class= "col-xs-12 col-sm-9 col-md-6 col-lg-3">                        </ Div >

When the screen size

When less than 768px, use the corresponding style of the col-xs-12 class;

In the 768px to 992px, with the col-sm-9 class corresponding style;

In the 992px to 1200px, with the col-md-6 class corresponding style;

When greater than 1200px, use the corresponding style of the Col-lg-3 class;

Bootstrap--a label with Col-xs, COL-SM, COL-MD, COL-LG

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.