Bootstrap frame, navigation bar, Pull-down menu, Carousel Advertising Carousel, grid system Layout, tab tabs, modal box, menu positioning of the personal summary, details as follows:
Bootstrap framework
Navigation
. Navbar-inverse: Change the background color of the navigation bar. Container:
Grid system (one of the core of Bootstrap, also the main layout style of bootstrap)The grid system is an upgraded version of the original Div layout . Break the traditional div mode can only vertically vertical arrangement of the
1. Grid system (Layout)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.
I'm here to call the grid system in
Every day, Bootstrap must learn about the grid system. The editor is also unfamiliar with the Bootstrap grid system (layout). I would like to share this article. If you are interested, please refer to it.
1. Grid System (
Bootstrap has built a grid system layout for us, and through it, we can easily adapt the layout to different widths of screens."Grid grid system" http://v3.bootcss.com/css/#grid"Respons
Bootstrap (http://twitter.github.com/bootstrap) defaults to 12 columns of raster layout (http://twitter.github.com/bootstrap/scaffolding.html#gridSystem), sometimes not meeting our layout needs, at this time, you can modifyLess/variables. LessFile.
For example, if you want
Typical grid layout effect instance implemented by Bootstrap [demo source code] And bootstrapdemo
This article describes the classic grid layout implemented by Bootstrap. We will share this with you for your reference. The details
This article is regarded as the end of the bootstrap learning to use a large summary for your reference, the specific content as follows
Bootstrap framework
Bootstrap learning from now on, front-end development framework bootstrap, can greatly simplify the process of web site development, so well received by the deve
The raster system is used to create a page layout from a combination of row (row) and column (columns), which can be placed in a well-created layout.How the bootstrap grid system works:
"row" must be included in . Container , In order to give it an appropriate arrangement (aligment) and an inner complement (padding) through Point container, the inte
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 1200px selection COL-LG(0.2. Screen equipment size
% width, 100% width, full lineThe interval between columns and columns is set by setting the Padding property of the element that contains the column, and if the number of columns contained in a row is greater than 12, the remaining columns will be another row as a whole. Depending on the screen size, the class prefixes for the columns are:
Ultra small screen phone (
small screen tablet (≥768px)
medium screen desktop display (≥992px)
bi
; class="Page-header"> Using the 11111111111111111111111111111111111111111class="Row"> class="col-md-4"> class="Page-header"> block one class="col-md-4"> class="Page-header"> Block two class="col-md-4"> class="Page-header"> Block III Knowledge Points:1) Center The contents of the display, using the CSS Class container.Container This class sets the width of the content and centers the actual content.2) display content on the same line, and the average is divided into three parts, you need to use
and 4 hidden columns. Grid item B is in Grid line 5, which automatically creates 4 implicit grid columns, but because there are no grid items in columns 3 and 4, its width collapses to 0.You can test it yourself by using an online instance. (Please open with chrome)Note: Since the
. Using different structure tags in a template, using multiple floats and manual computations to implement a layout is difficult, and the method presented here becomes very simple and clear. Compared with absolute positioning, the grid is more flexible. Compared to today's popular CSS/JS libraries, these libraries use the grid to specify the appropriate class nam
CSS3 introduces a new grid layout (grid layouts). To adapt to the development of display and design techniques (especially mobile-first responsive design).The main goal is to create a stable, predictable, and semantically correct Web layout pattern that replaces the dynamic layout
CSS3 introduces a new grid layout that adapts to the development of display and design techniques (especially mobile-first responsive design).The main goal is to create a stable, predictable, and semantically correct Web layout pattern that replaces the dynamic layout of Web pages that have previously been erratic and
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.