Q:

bootstrap responsive image

<img src="..." class="img-fluid" alt="Responsive image">
2
<img class="img-fluid" src="" alt=""> //This will make your image responsive
-1
If you are using the <picture> element to specify multiple <source> elements for a specific <img>, make sure to add the .img-* classes to the <img> and not to the <picture> tag.


<picture>
  <source srcset="..." type="image/svg+xml">
  <img src="..." class="img-fluid img-thumbnail" alt="...">
</picture>
1

New to Communities?

Join the community