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"Responsive Tools" http://v3.bootcss.com/css/#responsive-utilitiesDo not understand the bootstrap grid layout of students, you can first look at the above link, to understand a general.Do you really know that? As long as you know a g
%)
Here about Form-horizontal, to cooperate with the bootstrap grid system.
The use of the class name "Form-horizontal" on 1: Set the padding and margin values for the form control. The above code can be seen in the debug console for padding-left:50px.2: Change the expression of "Form-group", similar to the "row" of grid system.
The role of 2.label
%}/{%block body%} in the sub-template to write the one that will be written, do not write, then render_template (' jicheng.html ') on the line ; A simple template inheritance is over.Split Line————————————————————————————————————————————————————————————————————————————Two. Bootstrap1. Application scenario: Bootstrap at present very popular, may in many projects will encounter, oneself also did Bootstrap's webpage, very convenient, the effect is also g
Vue-cli and webpack construction websites in windows (2) Import bootstrap styles and vue-cliwebpack
1. Install vue-cli first. If you have not installed vue-cli, you can refer to: Install vue-cli and webpack in windows (1) Environment
2. After the Vue is installed, make an example to import the bootstrap style. Copy the
Use ASP. net mvc + Bootstrap to build a personal blog praise. js likes special effect plug-in (2), mvcpraise. js
In the previous article, I introduced the use of ASP. net mvc and Bootstrap to quickly build a responsive personal blog site (I ). Next we will introduce you to the thumb ups plug-in. Let's take a look at this article!
1. Why is this thumb up plug-in r
Welcome to Bootstrap Quick Learning notes (2) Form series twoThis study note is based on the [MU Lesson network] tutorial, which is used to learn bootstrap, which will bring a new experience:
Form Control Size
Form control state
Button
Image
Detailed Introduction
Form Control Size表单控件大小可以通过给表单控件添加class类来实现,如果想要比较大,则添加input-lg类
Welcome to Bootstrap Quick Learning notes (2) One of the form seriesThis study note is based on the [MU Lesson network] tutorial, which is used to learn bootstrap, which will bring a new experience:
. Form-control Class
Level form
Inline form
Detailed Introduction
The
Form-control class adds the class directly to the con
Every day, Bootstrap must learn the navigation bar. It further explains how to use the elements in the navigation bar and how to use them. If you are interested, refer
I. basic navigation bar
When creating a basic navigation bar, take the following steps:
Step 1: first create a navigation list (
) And add the class name "navbar-nav"
Step 2: Add a container (p) outside the list and use the class name
Bootstrap component button (2)
Bootstrap is an open-source toolkit launched by Twitter for front-end development. It was developed by Twitter designer Mark Otto and Jacob Thornton. It is a CSS/HTML framework.
Button Group
. Btn-group>. btn: A group of. btn buttons wrapped in. btn-group.
Outsourcing element. btn-group {position/display /}
Button element. btn
Butt
Bootstrap (2) of the H5 framework, h5bootstrap
Suddenly I don't know what to write, and my mind is out of water. It may be because I am going out to waste some time tonight. Haha ~~~ Remind everyone to go home on Christmas Eve in advance. There are so many eggs generated on Christmas Day .... Continue
In the previous article, we had a rough idea about bootstrap.
Related Courses Search:Key points to review:BS Download Template parsing:1, Download dist (that is, the production environment version, here is the 3.3.7 version), the file directory is as follows:bootstrap/├──css/│ ├──bootstrap.css│ ├──bootstrap.css.map│ ├──bootstrap.min.css│ ├── bootstrap.min.css.map│ ├──bootstrap-theme.css│ ├──bootstrap-theme.css.map│ ├──
Bootstrap implements a number of basic styles, including tables, forms, buttons, pictures, and more. The basic use method is to add a specific class to implement.Bootstrap provides a clear layout for creating tables.
0x01 table Style
(1) Basic style: without border and split line:
(2) style : table-bordered : bring up a border for a table: (3) style: table-striped: Take the zebra crossing for the
Excerpted from http://v3.bootcss.com/migration/Bootstrap version 3 is not backwards compatible with the v2.x version. The following section is a general guide to upgrading from the v2.x version to the v3.0 version. To see more version updates, please click on the v3.0 new content.Changes to the main classThe following table lists the style differences between the v2.0x version and the v3.0 version.
resources in these directoriesStatic resources such as images or JS, CSS, html are stored in the src/main/resources/static.Src/main/resources/templates ' is the template file for the project (the template I used is freemarker)Src/main/resources/static/webjars This is an empty directory, Bootstrap resources can be accessed through this empty directory (the reason why the empty directory is named Webjars may be because Bootstrap's jar package name is W
I. Global CSS Styles1.HTML5 document type, standard, set with reference to the following DOCTYPE HTML > lang= "ZH-CN"> ... HTML >2. Mobile device priority bootstrap is mobile device first!To ensure proper drawing and touch-screen scaling, you need to add viewport metadata tags to name= "Viewport" content= "Width=device-width, initial-scale=1" >* * Setting the Meta property to User-scalable=no with th
;
. Navbar-fixed-top is positioned to the top of the navigation bar. To enhance accessibility, you must add attributes to each navigation bar.
Dependent on JavaScript
If Javascript is disabled and the viewport is narrow enough, the navigation bar is folded and the content contained in. navbar-collapse cannot be opened.
Class = "navbar-Toggle collapsed" is the folding style, data-target = "# bs-example-navbar-collapse-1" refers to the folding target;
The running effect is as follows:
When the win
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.