Negative margins for two columns, three-column layoutClear:both Clear FloatTwo-column:margin-right:-250px the right side of the content to the left 250px contentmargin-right:250px to the left to apply a Div, and then set aside from behind 250px, so that the right overlay of 250px just two columns of layoutThree-column:After the same two-columnmargin-left:250px left the leftmost content floating, leaving 250px to themselves, while the middle of the content of adaptive, three-column formHoly Grail
Objective
Bootstrap is based on HTML, CSS, JAVASCRIPT, it is simple and flexible, making Web development faster. It was developed by Twitter's designer Mark Otto and Jacob Thornton, and is a css/html framework.
Today we look at bootstrap page layout!!!!First: Some styles are set by defaultGlobal font-size for 14px,line-height for 20px,p para
Numerous reusable components of the layout component, including font icons, drop-down menus, navigation, warning boxes, pop-up boxes, and more.The use of bootstrap is very flexible and can be combined with various components, such as adding a drop-down menu for tab items, which are described individually in the following knowledge points.Includes more than 250 font icons from the Glyphicon halflings. Halfli
Bootstrap can be completely friendly support HTML5 text element, here no longer repeat, specific can refer to my other article "HTML text element Summary", here is mainly for bootstrap packaged CSS text style to do a summary.. small--the current element font size of 85%, often used as a subtitle, can also be used . lead--let the paragraph be highlighted;. Text-left,. Text-center,. text-right--align the text
Bootstrap can completely friendly support HTML5 text element, here no longer repeat, detailed can refer to I also have an article "HTML text element Summary", here is mainly for bootstrap packaged CSS text style to do a summary.. small--the current element font size of 85%, often used as a subtitle, also can use . lead--let the paragraph be highlighted;. Text-left,. Text-center,. text-right--align the text
You can use the bootstrap layout to add a small eye icon in the input box for input, such as a key in the Login entry box and a password in the Password entry box, as shown below:
However, when the icon is placed in the input box, these small icons are not able to get the click event;
So the question is, how do you get these little icons to get the click events?
I do not know, but can be used in a r
Bootstrap responsive layouts can be arranged horizontally on the desktop >970px using a rasterized system, by:1. Included in the. Container or. container-fluid2. Use the. col-md-* raster class to create a raster systemTypical layout:Divclass= "Container"> Divclass= "Row"> Divclass= "Col-md-4">DDiv> Divclass= "Col-md-4">DDiv> Divclass= "Col-md-4">DDiv> Div>Div>Details: http://v3.bootcss.com/css/#gridBootstrap-Responsive
A. Go to the point list1. Using class=list-unstyledul> Li>Unordered list ItemsLi> Li>Unordered list ItemsLi> Li>Unordered list ItemsLi> Li>Unordered list ItemsLi> Li>Unordered list ItemsLi> ul> ulclass= "list-unstyled"> Li>Unordered list ItemsLi> Li>Unordered list ItemsLi> Li>Unordered list ItemsLi> Li>Unordered list ItemsLi> Li>Unordered list ItemsLi>ul>View CodeA bit of list and no point list comparison code as above,
Using the bootstrap layout, you can add a small eye icon in the input box, such as the Login name entry box, to clear the icon and password in the Enter box to display the password. Such as: However, these small icons are not available for click events when the icons are placed in the input box.So the question is, how do you get these little icons to have a click event?I do not know, but can be used in a r
Bootstrap works with the Masonry plug-in to implement waterfall layout and bootstrapmasonry
The problem is that when you use the bootstrap raster for layout, if the size exceeds the upper limit, it will automatically go to the next row, but there will be gaps when the image is displayed, the following describes how to
Implement the icon clicking function in the input box of the bootstrap layout, bootstrapinput
With the bootstrap layout, you can add a one-click clear icon in the input box of the input username and a small eye icon in the password input box. For example:
However, when you put the icons in the input box, these icon
Bootstarp's rasterized layout makes our layout simple, and we just need to take advantage of the. Container/.container-fluid,.row, which is an example:The above example is a simple use of a rasterized layout, so how is it implemented? Take. Container-fluid as an exampleThe. Container-fluid style is defined as follows:{ padding-right: 15px; padding-left: 15px;
Click an icon in the input box of the bootstrap layout. You can add a one-click clear icon or a password eye icon in the input box. For example:
However, when you put the icons in the input box, these icons cannot obtain click events;
So the question is, how can we get Click events for these small icons?
I don't know, but it can be indirectly implemented in a roundabout way.
Key points:
Add an invisib
[Bootstrap basic learning] 02 Bootstarp layout component application example, bootstrapbootstarp
Application Example of font icons
Drop-down menu example
Button toolbar and button group
Button drop-down menu
Input box group in the form
-- To be continued
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.