Bootstrap Home

Images

Rounded Corners

The .rounded class adds rounded corners to an image.


Sunrise

Circle

The .rounded-circle class shapes the image to a circle.


Sunrise

Thumbnail

The .img-thumbnail class shapes the image to a thumbnail (bordered).


Sunrise

Centered Image

Center an image by adding the utility classes .mx-auto (margin:auto) and .d-block (display:block) to the image.


Sunrise

Responsive Images

Create responsive images by adding an .img-fluid class to the tag. The image will then scale nicely to the parent element.


Sunrise

Aligning Images

Align images with the helper float classes.


Sunrise Sunrise