Bootstrap _ form _ Form Control and bootstrap Form Control
I. input box
Single-line input box, a common text input box, that is, the type attribute value of input is text.
When using input in Bootstrap, the type must also be added. If the type is not specified, the correct style cannot be obtained, because the Bootstrap
Example of table merging cells implemented by Bootstrap, bootstrap Cells
This example describes how to merge cells in a table implemented by Bootstrap. We will share this with you for your reference. The details are as follows:
1. Problem background
Use Bootstrap to design a table, and the table needs to merge cells.
2
Key Points of Bootstrap's basic application and key points of bootstrap
Bootstrap is an open-source CSS/HTML framework launched by Twitter, which is written by the dynamic CSS language Less (Sass porting code is also provided ).
Usage:
Title style:
In Bootstrap, you can use the class name to implement h1-h6 such:
In Web production, we often encounter a subtitle
Bootstrap simple form display learning notes and bootstrap learning notes
Form Layout
Vertical or basic form
BootStrap comes with the basic form structure. The steps for creating a basic form are as follows:
1. Add role = "form" to the parent 2. To get the best spacing, place the tag and control in a div. form-group, and the div under the parent form;3. Add. form
Bootstrap practices-minor issues, major bugs, and bootstrap bugs
I wrote an example by referring to the Code in the book to implement single-line navigation of a large page. The shrink button is displayed on a small page, but it cannot be used. I don't know what went wrong.
There are not many codes. Come on again. When I wrote about the navigation, I suddenly found that a
If you are so careless, do you
Basic bootstrap layout and bootstrap LayoutChinese APIbootstrap.cn HTML5 document type mobile devices give priority to the width attribute to control the width of the device. Set it to device-width to ensure that it is correctly displayed on different devices. Initial-scale = 1.0 make sure that the page is displayed in a ratio during loading without any scaling. In the mobile device browser, you can disable
[Bootstrap] global style (1): bootstrap global style
The page must be set to html5 Document Type
...
Adapt to mobile devices
Typographical/Link
Scaffolding. less:
Body {background-color: # fff/@ font-family-base/@ font-size-base/@ line-height-base}
A (@ link-color/@ link-hover-color)Normalize.css
Raster System
Container:
. Container (fixed-width response type)/. container-fluid (percentage adaptive)
I wanted to be lazy today. I thought about it. I 'd like to write an article about the front-end login interface, the BOOTSTRAP and login interface bootstrap.
Today, I officially started my graduation project. I learned how difficult it was to get started. I didn't write a good logon window. Here is the code:
That's how to align the following logon button with the input box. Well, leave yourself a question
Bootstrap-based data display-Modify the bootgrid style ., Bootstrap modify Style
Official bootgrid Case Study
Http://www.jquery-bootgrid.com/Examples
Official demo Style
Based on project requirements, some unnecessary functions are canceled and the source code is modified.
Finally, the style is like this.
The modified content is as follows:
DescriptionAll are modified in jquery bootgrid. js.Css styleC
Form of Bootstrap global CSS style, bootstrap global css
. Form-control -- assign a separate form control to some global styles, such as the default width: 100%;
. Form-group -- wrap form control to get the best arrangement;
. Form-inline -- set the form to an inline form, only applicable when the viewport is at least PX width;
. Sr-only -- hide the label;
. Help-block -- used to set the prompt text;
. Form
Bootstrap button group, bootstrap button
1. Basic instanceThe Code is as follows:Button ToolbarThe Code is as follows:DimensionsThe Code is as follows:NestingThe Code is as follows:Vertical arrangementThe Code is as follows:Note: More learning resources in java tutorial network, http://java.662p.com/thread-4517-1-1.html
Bootstrap input box group, bootstrap input box GroupYou can extend the Form Control by adding text or buttons to the front, back, or sides of the text input box Only text input boxes are supported. Avoid using the Avoid using Special settings are required for the tooltip and pop-up boxes in the input box group.Is. the container: 'body' parameter must be set when the element tooltip or popover contained in t
Bootstrap button drop-down menu and bootstrap drop-down menuPut any button in. btn-group, and then add the appropriate menu label to make the button as a menu trigger. You only need to change some basic labels in the single-button drop-down menu to switch the button into a drop-down menu. The Code is as follows:
The split button drop-down menu is similar. The split button drop-down menu also needs to chan
positioning (positioning) removes elements from the normal flow of documents and also overrides the box model-related styles, it is ranked first. The box model is ranked second because it determines the size and position of the component.Other properties only affect the interior of the component (inside) or do not affect the first two sets of properties, so it is followed.
Positioning
Box model
Typesetting
Borders and backgrounds
Transparency
Example:. Declaration-or
Bootstrap table learning notes (2) Front-end paging fuzzy query and bootstrap learning notes
During usage, when reading the document and doing so, I encountered some difficulties. Here I will record it and make a summary by the way:
1. Front-end Paging2. Back-end Paging3. Fuzzy search
The front-end paging is quite simple. When I added 2 million pieces of test data, it opened smoothly without freezing.
$ (Fu
Examples of bootstrap response tables and bootstrap instances
Bootstrap's responsive CSS can adapt to desktops, tablets, and mobile phones. Now, we will give an example of bootstrap's responsive CSS:
As shown in, this table only displays the code, name, and price on mobile phones and other mobile terminals. Others are displayed in View Details (that is :)
First, the mobile terminal can be converted from t
Bootstrap plug-in-carousel image, bootstrap-carousel usel
The above uses declarative methods to achieve carousel
The declarative method is implemented by defining the data attribute, which can easily control the carousel position. It mainly includes the following types:
Data-ride attribute: The value is usel and is defined on usel.
Data-target attribute: The value is the ID defined by usel or another st
Use BootStrap's movie usel. js to achieve Carousel animation effects, and bootstrap to achieve Carousel Images
Preparations:
1. jquery. js.
2. Restart usel. js of bootstrap.
3.bootstrap.css.
Let's take a look at the Code:
The page is ugly. I hope you don't mind.
:
Html + js:
Index.css
.container-fluid { padding-left: 200px;}.navbar-default { background-color: #308dca;}.navbar-brand { font-size: 34px; heig
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.