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/12/..." 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.
<img src="/portals/25/..." alt="..." class="img-rounded">
<img src="/portals/25/..." alt="..." class="img-circle">
<img src="/portals/25/..." alt="..." class="img-thumbnail">