0 votes
in Bootstrap by
How can we make image responsive in Bootstrap?

1 Answer

0 votes
by
After the updates in Bootstrap, currently the feature to make an image responsive has been added, we can do this by adding a class .img-responsive to the <img> tag. This class makes the width max-width =100%; and height=auto; to the image so that it matches nicely to the parent element.

Related questions

+1 vote
asked Jan 20, 2023 in Bootstrap by SakshiSharma
0 votes
asked Feb 14, 2020 in Bootstrap by SakshiSharma
...