简体   繁体   中英

Bootstrap grid make a column expand under its neighbor column

Hi guys its hard to put this in english so here is the drawing of the layout I want to accomplish. I don't know if this is possible in Bootstrap grid system only.

<div class="row">
   <div class="col-md-6" id="col1">... children </div>
   <div class="col-md-6" id="col2">... children </div>
</div>

布局图

I don't think it's possible with the Bootstrap grid system. You will have to divide your first div.

Maybe the css float property can do what you need ?

here is a working example: http://jsfiddle.net/y1dj5166/

<p style="color: blue">
<span style="float: right; color:red;"> 
other text. other text. other text. other text.<br/>
other text. other text. other text. other text.<br/> 
other text. other text. other text. other text.<br/> 
</span>
Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text.
Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. 
</p>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM