Bootstrap Question:

Download Job Interview Questions and Answers PDF

How to make images responsive in Bootstrap?

Bootstrap Interview Question
Bootstrap Interview Question

Answer:

Bootstrap 3 allows to make the images responsive by adding a class .img-responsive to the <img> tag. This class applies max-width: 100%; and height: auto; to the image so that it scales nicely to the parent element.

Download Bootstrap Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know what are bootstrap labels?Tell me what is the purpose of .media class in bootstrap?