CrYoSoRe
CrYoSoRe

Reputation: 182

Responsive position of row elements

I have a small problem in the responsive alignment of my row elements

enter image description here

I have 3 panel (with class : col-lg-6 col-md-6) in one row and I want to align the last panel with the heigh of the first.

I tried to add a : but nothing change...

Someone know how i can do that ?

Upvotes: 0

Views: 57

Answers (1)

scooterlord
scooterlord

Reputation: 15349

...You can do what you are after by using this code:

<div class="col-md-6">
  <div class="row">
    <div class="col-md-12">
        top panel
    </div>
    <div class="col-md-12">
        bottom panel
    </div>
  </div>
</div>
<div class="col-md-6">
  right panel
</div>

edit: the -lg-X isn't needed if it's the same number as the one in the lower breakpoint.

Upvotes: 1

Related Questions