CSS + Bootstrap Alignment

Asked

Viewed 160 times

2

I’m using bootstrap thumbnail but can’t find a bootstrap class to leave the same inline;

I’m using this thumbnail.

and would like it to stay exactly as it is in the example; have tried in <div class="row"> place inline-block, inline etc and nothing works.

1 answer

2

The example repeats a column for each image. Each image must be inside a div with col-Md-*:

<div class="row">

  <div class="col-xs-6 col-md-3">
    <a href="#" class="thumbnail">
      <img src="..." alt="...">
    </a>
  </div>

   <div class="col-xs-6 col-md-3">
    <a href="#" class="thumbnail">
      <img src="..." alt="...">
    </a>
  </div>

</div>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.