2014-03-27 28 views
0

我要做出這個樣子,BUIT沒有JavaScript的,這裏是截圖,我希望能像都要進行兩個COL引導3相同的高度,但與填充

enter image description here

這是我已在自舉3,CSS在在線取得現在,因爲我使用較少,這是簡單的方法:)

HTML

<section class="container-fluid" style="background-color:Red; 
    background-size: cover; padding-top:145px; padding-bottom:145px;"> 
    <div class="container"> 
     <div class="row"> 
     <div class="col-md-6"> 
     <div class="element" style="background-color:white; opacity:.90; 
    -moz-opacity:.90; 
    filter:alpha(opacity=90); padding-top:20px; padding-bottom:20px; margin-top:20px; margin-bottom:44px; margin-right:15px; padding-left:15px;"> 
       <h2 class="color-brand">HEADING 2</h2> 
       <p class="color-grey">Hello Mate</p> 
      </div> 
      </div> 
    <div class="col-md-6"> 
     <div class="element" style="background-color:white; opacity:.90; 
    -moz-opacity:.90; 
    filter:alpha(opacity=90); padding-top:20px; padding-bottom:20px; margin-top:20px; margin-bottom:44px; margin-right:15px; padding-left:15px;"> 
       <h2 class="color-brand">HEADING 2</h2> 
       <p class="color-grey">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> 
      </div> 
      </div> 
      </div> 
</section> 

而且這是工作jfiddle

http://jsfiddle.net/D9tc4/

+0

可能想看看這個Q&A。 --- [如何使Bootstrap列的高度相同?](http://stackoverflow.com/questions/19695784/how-can-i-make-bootstrap-columns-all-the-same-height) – Bmoeller

回答