html - bootstrap 3.0 responsive 5 images in one row -


i having problem bootstrap 3.0 making 5 images in 1 row , make responsive ? grid system based of 12 , how make 5 images , centered without spaces ?

also there away can make when viewed on tablets or smartphones <480 px 2 images per raw? right shows 5 images under each other??

here code:

<div class="row">  <div class="col-md-2">  <img class="img-responsive" src="/images/img1.jpg" />  </div>    <div class="col-md-2">    <img class="img-responsive" src="/images/img2.jpg" />  </div>   <div class="col-md-2">  <img class="img-responsive" src="/images/img3.jpg" />  </div>    <div class="col-md-2">    <img class="img-responsive" src="/images/img4.jpg" />  </div>   <div class="col-md-2">    <img class="img-responsive" src="/images/img4.jpg" />  </div> </div> 

as can see using col-md-2 along img-responsive? not working because not centered

you have empty column on either side:

<div class="row">  <div class="col-md-2 col-md-offset-1">    <img class="img-responsive" src="/images/img1.jpg" />  </div>  <div class="col-md-2">    <img class="img-responsive" src="/images/img2.jpg" />  </div>   <div class="col-md-2">    <img class="img-responsive" src="/images/img3.jpg" />  </div>  <div class="col-md-2">    <img class="img-responsive" src="/images/img4.jpg" />  </div>  <div class="col-md-2">    <img class="img-responsive" src="/images/img4.jpg" />  </div> </div> 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -