BootStrap - I do it like this - Any better way

Hi, Soory a silly question. I use BootStrap 3 at the moment. Is their any better way to do it than the way currently I am doing it?

Let say I have 3 columns.

<div class="col-md-6"> Content </div>
<div class="col-md-1"> Blank </div>
<div class="col-md-5"> Content </div>

So you see, I left the middle column blank just to get some more space. So this is the way I do it when I need some space.

Is their any better way to do it this particular example. I know offsets.

Thank you.

Use offset classes instead.

e.g.

<div class="container">
  <div class="row">
    <div class="col-md-6">
      <p>Content</p>
    </div>
    <div class="col-md-5 col-md-offset-1">
      <p>Content</p>
    </div>
  </div>
</div>
2 Likes

OK Thank you :slight_smile:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.