1

How to set the CSS styles of the images so that it can fit the full width available by bootstrap 6 columns and scale the height accordingly

 <div class="col-xs-6"> <img src="the_image.jpg" class="my_image_style"> </div> 

Thanks!

1 Answer 1

5

You can use the boostrap img-responsive class.

<div class="row"> <div class="col-xs-6"> <img src="http://placehold.it/1000x100" class="img-responsive"> </div> </div> 

Here is a sample bootply

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.