This article mainly includes:
■ Grid Introduction■ Application Grid■ Multiple Grids
About Grid
In Bootstrap, the page is divided into 12 equal parts, which is the so-called grid.
In Bootstrap, use the class name control, w
This article mainly introduces the CSS grid layout of the sample code, I hope to let you master more CSS skills.
Browser compatibility
You can see that the CSS grid layout is supported from Safari 10.1, Firefox, Chrome 60,edge 15.
Grid
Bootstrap frame grid system is the container flat divided into 12, in the use of the actual situation can recompile Less/sass source code to modify the value of 12. Bootstrap Framework grid system working principle:
1. The data row (. Row) must be contained in the container (. Container) so that it is given the approp
In other words, Bootstrap provides a 12-based grid, which can be used to obtain the layout (horizontal) of 12-minute n ).
This is what it looks like (span is an invisible div. In order to see it, I used the style sheet in bootstrap ):
The Code is as follows:
There are two ways to deploy
How much does the bootstrap grid system know?
1. IntroductionBootstrap has a set of responsive, mobile-priority streaming grid systems, which are automatically divided into up to 12 columns as the size of the screen device or viewport (viewport) increases. It includes easy-to-use predefined classe, and powerful mixin for generating more semantic layouts.
2,
Summary of Bootstrap grid system learningThe bootstrap framework is one of the most Popular front-end frameworks today, and Bootstrap is powerful, easy to learn, and well-fit for practical applications.Just bootstrap content more, novice often can not quickly skilled use of
This chapter will focus on the Bootstrap drop-down menu. A drop-down menu is a toggle, a contextual menu that displays a link in a list format. This can be done by interacting with the Pull-down menu (Dropdown) JavaScript plug-in.
If you want to use the following menu, just add a pull-down menu to the class. Dropdown. The following example demonstrates the basic Drop-down menu:
The results are as follows:
Layout containerBootstrap needs to wrap a container for the page content and grid system .container . We have provided two classes for this purpose. Note that because padding of such attributes, the two container classes cannot be nested with each other ..containerClass is used to fix widths and support a container for responsive layouts.Copyclass="container"> ....container-fluidThe viewport class is used
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
Bootstrap 3 is a priority for mobile devices, in the sense that Bootstrap code starts with a small screen device, such as a mobile device, a tablet computer, and then expands to components and grids on large-screen devices such as laptops and desktops.
One, Mobile Device Priority policy 1, content: Decide what is the most important. 2, layout Design a smalle
Source code of Bootstrap form layout style, bootstrap form
Bootstrap provides three forms: vertical forms, inline forms, and horizontal forms.Create a vertical or basic form:• Add role = "form" to the parent • Place tags and controls in a • Add class. form-control to all text elements
Inline form:All the elements in a
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
1. Introduction
Bootstrap has a set of responsive, mobile-priority streaming grid systems, which are automatically divided into up to 12 columns as the size of the screen device or viewport (viewport) increases. It includes easy-to-use predefined classe, and powerful mixin for generating more semantic layouts.
2, grid options
Bootstrap3.x uses four kinds of
Http://www.cnblogs.com/linjiqin/p/3559800.htmlBootstrap Grid SystemDirectory1. Introduction2. Grid options3. Column Offset4. Nested columns5. Column sorting1. IntroductionThe bootstrap incorporates a responsive, mobile-first streaming grid system that is automatically divided into up to 12 columns as the screen device
Grid layout Presumably we all know well, when we do page development, often the requirements of the page plate is very high, how to layout the content of each area, and make it alignment is a big problem for us. And the grid system is the tool of our typesetting, he supports automatic alignment, automatic calculation o
simple syntax to use a keyword span in grid-column-end. Span tells us the number of cells to span, without specifying the end of the grid line.
So get the effect and the previous use
The results are the same.
In the following example, we have removed four grid items. The location of the two grid projects was
; }. Section-wrapper{width:1000px;Margin-right:Auto;Margin-left:Auto; }. Column{float: Left; }. grid-m640s340. Column-main{width:640px; }. grid-m640s340. Column-sidebar{width:340px;Padding-left:20px;}Section block layer, default block-level element. The main role of this layer: on some pages, the banner applies the background style.Section-wrapper block parcel layer, responsive
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">
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
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.