[Bootstrap] component (3): bootstrap component
Input box Group
Add additional element. input-group-addon
Outsourcing element. input-group> input-group-addon + form-control
Input box group size
Control class. input-group-*:. input-group-lg/. input-group-sm
Add one or more additional elements
Nested single-or multiple-choice button elements in additional elements
Extra element is button
Extra button cla
Article 9. bootstrap navigation, Article 9. bootstrap
To create a label-based navigation menu, follow these steps:
Add class nav to ul label
Add the class to the ul label.. Nav-tabs.
Adding active to the li label indicates activating this item.
To create a capsule tag, you only need to change nav-tabs to nav-pills.
Article 6. bootstrap table, Article 6. bootstrap
Basic table:
InAdd tags.tableClass can give it a basic style, a small number of inner padding and horizontal separation lines.
The display effect is as follows:
Striped table:
Adding "class =" table-striped "to the table label adds a zebra stripe pattern to each row in the tbody.
The display effect is as follows:
Table with border:
Adding class =
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 drawbacks, greatly improve the page layout speed and effect, but also a good response to the layout. When the device is not wide enough, the grid system automatically arranges all
Bootstrap tutorial JS plug-in pop-up box learning notes sharing, bootstrap learning notes
This article mainly describes the JavaScript plug-in-pop-up box.
Case
Add a small cover layer for the page content, just like the effect on the iPad, to add additional information to the page element.
Let's look at a few simple static cases.
Simple results mainly include static pop-up small forms, including the form t
Bootstrap global CSS style table, bootstrap global css
. Table -- basic table style;
. Table-striped -- adds a zebra stripe pattern to each row in
. Table-bordered -- add a border for the table;
. Table-hover -- hover over each row in
. Table-condensed -- make the table more compact, and the inner padding in the cell will be halved.
. Active -- the color that is set when the mouse is hovering over a row o
Bootstrap navigation, bootstrapNavigationThe navigation components in Bootstrap depend on the same. nav class, And the status class is also shared. You can change the style of a modifier.TabNote: The nav-tabs class dependency. nav base class
The Code is as follows:
Capsule TabThe HTML Tag is the same, but the. nav-pills class is used:The Code is as follows:
Capsules can be stacked vertically on tab
Bootstrap Response Table details and bootstrap Response Details
Bootstrap's responsive CSS can adapt to desktops, tablets, and mobile phones.
The following figure shows the display style on the mobile phone.
The Code is as follows:
1. test. php
2. chuli. php
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.
Bootstrap implements login verification form (with verification code) and bootstrap Verification
This login window is a dual-login window that does not support IE8 and earlier versions. You can change it according to your own development language. I use asp, you can download the referenced files on the network. If you cannot find the files, you can leave your email address ~!
The key code is as follows:
10 sets of free responsive layout Bootstrap templates and 10 sets of bootstrap1. Cardio
Cardio is my favorite lightweight template. It can be rarely modified for any type of business.
2. Evento
Evento is the shape of an event-guided ad template. It is well-designed with attention to details.
3. Photography
Photography, as its name implies, is a template of a great photographer. It provides a beautiful way to present your photos and work.
4. Fla
BOOTSTRAP3 frame using bootstrap-table combined with bootstrap-file input using the Bootstrap3-dialog pop-up upload page listing uploaded files (supporting multiple file uploads) the use of a single page application in the site also used req Uire refers to the external JS file page All the required references, specific documents please go to the corresponding official website download ...
The fileuplo
Tooltip is the second complex component of Bootstrap, with nearly three hundred rows. There are many configuration items. Manual Initialization is required. Another feature is that there is no custom event.
Name
Type
Default
Description
Animation
Boolean Value
True
Add a light transition for the tooltip.
Placement
String or function
'Top'
Position of the tooltip: Top | bott
Basically, the bootstrap-alert component works on CSS. The JS component is a close event. This is a close event provided by the Framework. Before that, you can bind the close and closed callbacks through the On method. It will be called when it is closed. Basically, you only need to introduce the JS file, and HTML can be written according to its format requirements.
Note the following:
Data-dismiss = "alert" attribute is required to disable
The newly added component of Bootstrap in 2.1 is fixed. In fact, this component is very simple, that is, the screen is fixed or not fixed by adding or removing the affix Class Name. When the page is loaded, the JS plug-in will search for all the [data-Spy = "Affix"] elements on the page, then, find the data-offset-top or data-offset-bottom attribute, that is, if the number of pixels from the top (bottom) of the page is less than the number of pixels,
I have been studying bootstrap3.3.5 recently. I am confused about a problem.What exactly does it mean?
There are very few Chinese documents on the Internet, but they do not express the most appropriate meanings. on GitHub, I found the relevant materials in combination with the "Turing computer vocabulary"In the Turing computer vocabulary, you can also query its meaning:
Presentation
N. [Web] presentation layer; [meter] briefing, list sheet; [General Software] demonstration (Source: Turing comput
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.