X
GO
en-UScy-GB

Images

Responsive images

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.

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

Image shapes

Add classes to an <img> element to easily style images in any project.

Cross-browser compatibility

Keep in mind that Internet Explorer 8 lacks support for rounded corners.

140x140 140x140 140x140
<img src="/portals/21/..." alt="..." class="img-rounded">
<img src="/portals/21/..." alt="..." class="img-circle">
<img src="/portals/21/..." alt="..." class="img-thumbnail">