The Site disagrees on responsive

0
Well, inside the body, I put two boxs, col-md-6, with 1px border, but one was next to the other, and it was not to stay, then I put a margin-left of 28px in the two boxs my left side of the screen, ie second and fourth. There it separated, the ones on the left corner went to Container limit, and the medium was no longer together, as in the image: link But when it decreases to see how to stay responsive, the second and fourth were not responsive, due to the margin-left, follow the print of the pordas, which should be on the same margin, 0, #

    
asked by anonymous 23.07.2015 / 21:30

1 answer

0

Instead of putting the border on the element with col-md-6, create another one inside. Ex:

<div class="col-md-6">
  <div style="border:1px solid #cor;">Lorem ipsum</div>
</div>

Or

@media(max-width:600px) {
  .col-md-6 {margin-left:0;}
}
    
23.07.2015 / 21:33