How do you make images responsive?



How do you make images responsive?..

Answer / Sonam Tyagi

To make images responsive in Bootstrap, use the 'img-fluid' class. This ensures that the image scales nicely to the parent container and maintains its aspect ratio without any hard-coded width or height values.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Bootstrap Interview Questions

Explain The Use Of Icons In Bootstrap Framework?

1 Answers  


explain me how will you create a alternate progress bar using bootstrap?

1 Answers  


What is navbar in bootstrap?

1 Answers  


Why bootstrap is used for mobile web development? Explain

1 Answers  


In Which language Bootstrap is written ?

1 Answers  


Please consider the html code snippet below.<Button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="my title">hover over me</button> what is missing for a tooltip to show properly?

1 Answers  


what is Bootstrap Grid System?

1 Answers  


What is bootstrap framework and why it is used?

1 Answers  


How to make images responsive in bootstrap?

1 Answers  


Explain modal plugin in bootstrap.

1 Answers  


Tell me what do you understand about responsive websites?

1 Answers  


What are the steps to create an animated progress bar using bootstrap?

1 Answers  


Categories