How to create a responsive image that also scales up in Bootstrap 3 and HTML?

Spread the love

To create a responsive image that also scales up in Bootstrap 3 and HTML, we add the img-responsive class.

For instance, we write

<img src="..." class="img-responsive" alt="Responsive image" />

to add the img-responsive class to the img element to make the image responsive.

Leave a Reply

Your email address will not be published. Required fields are marked *