Skip to content

Examples for opting images into responsive behavior and add lightweight styles to them. Free for personal & commercial use.

Notifications You must be signed in to change notification settings

mdbootstrap/bootstrap-responsive-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

How to make Bootstrap image responsive?

Add class .img-fluid to make your bootstrap image responsive. It will apply max-width: 100%; and height: auto; to the image, which makes it always fit the parent element.

<img src="https://mdbootstrap.com/img/new/slides/041.jpg" class="img-fluid" alt="..." />

Much more examples and a detailed description can be found at 📄 Documentation page

About

Examples for opting images into responsive behavior and add lightweight styles to them. Free for personal & commercial use.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages