Bootstrap 4 Img Responsive Class Example

Download FREE Marketing Guides

In Bootstrap 3 you would use the class .img-responsive but in Bootstrap 4 this class name has been renamed to .img-fluid

View on codepen

How to create a responsive image in Bootstrap 4

.img-fluid

  <img src="https://dummyimage.com/1200x400/000/fff" alt="responsive image" class="img-fluid">

 

 


Written by: Jake Lett
I share digital marketing tips and HubSpot tutorials to help marketers and business owners grow their business.

Related posts

Tags:

Want to Get Email Updates of New Articles?

Join My Email Newsletter