Bootstrap Flow Layout

Source: Internet
Author: User

    

Bootstrap---Fluid layout flow layouts
Flow layout is a way of adapting to the screen. That is, instead of fixing the width of the block, the width of each block is determined by the percentage as the unit. This layout is ideal for writing at once and then adapting to a variety of different size screens (mobile, PAD ...). )。
<div class= "Container-fluid" >
<div class= "Row-fluid" >
<div class= "Span2" >
</div>
<div class= "Span10" >
</div>
</div>
</div>
Add these classes sequentially. The outermost containing block has the Container-fluid class, which indicates that the content layout is a flow layout, and its primary function is to accommodate the flow layout content as a containing block. The contents of the containing block have the Row-fluid class (very important) and decide whether the flow layout. Then the content block code is written in accordance with the grid system, still from Span1 to Span12, respectively, corresponding to the different percentages.

Bootstrap Flow Layout

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.