Return to list of examples

Responsive Images

Source Code:
Output:

Note:


Images in Bootstrap 3 can be made responsive-friendly via the addition of the .img-responsive class. This applies max-width: 100%; and height: auto; to the image so that it scales nicely to the parent element. See Bootstrap doc here --> http://getbootstrap.com/css/#images