Bootstrap Grid Layout System Instance

Source: Internet
Author: User
First, the Basic principles:

1. Consider the screen as a sequence of grids/rasters/cells, arranged in a horizontal and vertical direction;

2. All data must be placed in the grid;

3. Using responsive layout, mobile settings first

Second, screen resolution is divided according to

1. (Screen < 768PX): Ultra-small Col-xs-x

2. (768px <= < 992px): Small screen Col-sm-x

3. (992px <= < 1200): Medium screen Col-md-x

4. (<= Screens): Large screen Col-lg-x

Second, the realization principle

1. First step: You must create a container, class= "container"

2. Step two: You must create a row, class= "Row"

3. Step three: You must create a grid, class= "Col-md-x", take the medium screen for example, the critical point is 992px

<! DOCTYPE html>

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.