2015-10-07 5 views
0

Я новичок в бутстрапе. У меня проблема с изменением порядка столбцов на маленьких экранах. Он должен выглядеть следующим образом. Есть идеи?Bootstrap: Изменение порядка колонок

& мкр Л.Г.

[a] [b] 

[c] [d] 

см & хз

[A] 

[b] 

[d] 

[c] 

я пытался нажимной комбинацию тянуть только 'см', но она меняется М.Д. других размеров экрана» '&' lg '..

.new_section { 
 
    text-align: center; 
 
    margin: 40px 0; 
 
} 
 
.about_bg { 
 
    background-color: rgba(252, 160, 0, 0.76); 
 
} 
 
.jumbo_text > h1 { 
 
    height: 200px; 
 
    line-height: 200px; 
 
    color: #FFFFFF; 
 
} 
 
.jumbo_text > p { 
 
    color: #666666; 
 
    padding: 20px 0; 
 
    overflow: hidden; 
 
} 
 
.arch_prof_bg { 
 
    background-color: rgba(252, 160, 0, 0.76); 
 
} 
 
.proj_heading_bg { 
 
    background-color: rgba(129, 86, 11, 0.8); 
 
} 
 
.proj_heading_bg > h1 { 
 
    margin: 20px; 
 
    color: #FFFFFF; 
 
}
<section class="new_section"> 
 
    <div class="container"> 
 
    <div class="row" id="about"> 
 
     <div class="col-md-6 jumbo_text about_bg"> 
 
     <h1>Our Company</h1> 
 
     </div> 
 
     <div class="col-md-6 jumbo_text"> 
 
     <P class="text-left"> 
 
      It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, 
 
      content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various 
 
      versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). 
 
     </P> 
 
     </div> 
 
    </div> 
 
    <div class="row" id="arch_prof"> 
 
     <div class="col-sm-6 col-sm-pull-6 jumbo_text"> 
 
     <P class="text-left"> 
 
      It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, 
 
      content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various 
 
      versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). 
 
     </P> 
 
     </div> 
 
     <div class="col-sm-6 col-sm-push-6 jumbo_text arch_prof_bg"> 
 
     <h1>Architect Profile</h1> 
 
     </div> 
 
    </div> 
 
    </div> 
 
</section>

ответ

1

Вот что-то

Bootply

<div class="row"> 
    <div class="col-md-6">A</div> 
    <div class="col-md-6">B</div> 
</div> 
<div class="row"> 
    <div class="col-md-6 col-md-push-6">D</div> 
    <div class="col-md-6 col-md-pull-6">C</div> 
</div> 
Смежные вопросы