Bootstrap provides a responsive, mobile-first streaming raster system that is automatically divided into up to 12 columns as the screen or viewport (viewport) size increases. It contains pre- defined classes that are easy to use , and powerful mixin for generating more semantic layouts . First, IntroductionA raster system is used to create a page layout with a series of rows and columns (column), and your c
This article will mainly introduce the bootstrap grid system.
The realization of grid system is through the definition of container size, divided into 12 (or 24, 32, but 12 is the most common), and then adjust the internal and external margins, and finally combined with media inquiries, the
Little White. When I first started using Bootsharp as a Web page, I didn't know what grid systems, containers, what responsive layouts, and viewports (viewport). Faith does not understand on the Internet to find answers, plus Bootsharp official online and a lot of ready-made examples, their own try, probably understand, what is the flow grid system.A raster system
Excerpt translated from the subtle Magic Behind why the Bootstrap 3 Grid WorksFrom contact with Bootstrap has been a long time, giving the feeling is fast, simple, easy to get started, wherein the grid system is a highlight:
Always feel like CSS grid system and so o
This title takes a little strange, blame my translation of the problem. English literature is limited, Youdao dictionary and Google translation Qi is necessary. Fortunately, translation is not a novel, for technical articles, or can barely turn over.
This paper mainly explains the realization principle of Bootstrap3.0 grid layout system and the problems that should be paid attention to in the course of usi
1. IntroductionThe bootstrap incorporates a responsive, mobile-first streaming grid system that is automatically divided into up to 12 columns as the screen device or viewport (viewport) size increases. It includes easy-to-use pre-defined Classe, and powerful mixin for generating more semantic layouts.2. Grid optionsBootstrap3.x uses four raster options to form a
. col-xs-*--grid column for mobile phones ();. col-sm-*--grid column for tablets (≥768px);. col-md-*--grid column for desktop displays (≥992px);. col-lg-*--grid column for large desktop displays (≥1200px);. col-md-offset-*--the right offset column;. col-md-push-*,. col-md-pull-*--change the sorting of columns; Copyri
Bootstrap the description of the grid system in the official documentation:
The
Bootstrap includes a responsive, mobile-first, non-fixed grid system that scales appropriately to 12 columns as the device or viewport size increases. It contains pre-defined classes for simple layout options, as well as powerful
Article 4 Bootstrap grid system offset column and nested column, Article 4 bootstrap
Offset column:
In the bootstrap grid system, we can use the offset column to shift the right of a column, as shown below:
Class = "col-sm-2 col-sm-offset-1" indicates that the column occupies two portions and moves one portion to
If the grid is displayed, the code should look like this:
Where col-*-* represents the column widths occupied by different types of devices in the grid system
Minimalmobile Phone (
Smallflat Panel (≥768px)
incomputer (≥992px)
Bigcomputer (≥1200px)
Container Max width
None (Auto)
750px
970px
11
##### 1.3.2 Grid System-a response-style grid system is defined in bootstrap-The way to use it is to divide a container into 12 columns,-then control the ratio of each column by the class name of the COL-XX-XX##### 1.3.3.row Class-Because each column defaults to a 15px left and right margin-One function of the row clas
image, width is 960 x 650.
The funny 960 just came up. Yes, you can think of everything as simple as that. Grid system first appeared in the field of graphic design, designers love to use Apple, Apple under the browser's default width of 960px, so 960 so "natural" to appear.
The mystery behind the numbersThe above "nature" appears, the scrutiny of nature is not convincing. The designers of the Apple
General function and Module customization system (CFCMMS)-019 custom grid scheme (3)This section begins with a custom interior to see how the first custom feature is implemented.1. When the system logs in, all the module definition information that the login user has permission to send to the front end. This piece of code is in App/view/main/mainmodel.js. When Ma
Win7 System Excel table full blank do not have grid line how to do?
Excel table full blank no gridlines to retrieve steps as follows:
1, back to the Document View page, click on the toolbar "view", in the second area will see "Show/Hide" options, which have multiple options, such as the figure
2, the mouse tick "grid line" This is to look at the table
Article 4. Bootstrap grid system offset column and nested column, Article 4. bootstrap
Offset column:
In the bootstrap grid system, we can use the offset column to shift the right of a column, as shown below:
Class = "col-sm-2 col-sm-offset-1" indicates that the column occupies two portions and moves one portion to
Offset columns:
In the bootstrap grid system we can use an offset column to make a column move to the right, as follows:
class= "Col-sm-2 col-sm-offset-1" said the column accounted for two copies and moved to the right to see the effect as follows:
Col-sm-offset-1 says move right one. Col-sm-offset-2 represents a two-part right shift, and so on. The Col-xs class does not support offset columns,
When I first started using the bootstrap grid system to write layout, I encountered this problem:
There is a layout on my page
I hope that when the width of the screen is smaller than the sum of their widths, the right part falls off and they are placed vertically.
And I use col-xs-6 words, the box on the right will never fall down.
The words become so ugly.
If I use col-sm-6, the box on the right
The grid system of the bootstrap framework works as follows:1. The data row (. Row) must be included in the container (. Container) to give it the appropriate alignment and padding (padding). Such as:2. Columns (. Column) can be added in the row (. Row), but the sum of the columns cannot exceed the total number of columns in the split, such as 12. Such as:Divclass= "Container"> Divclass= "Row">
A few days ago to learn the bootstrap, the grid system in which to sort out, if there is a mistake, welcome correction.overview, grid system for Pc,pad, mobile end of the development of responsive web pages, according to different screen resolution has a different solution.(0.1, screen equipment size greater than 1200p
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.