Bootstrap 5 UI Tutorial

Build fast, responsive sites with Bootstrap 5

BS5 Images

Bootstrap 5 Images

Image Shapes

  • .rounded - Adds rounded corners to an image
  • .rounded-circle - Shapes the image to a circle
  • .img-thumbnail - Shapes the image to a thumbnail (border)

Responsive Images

Images come in all sizes. So do screens. Responsive images automatically adjust to fit the size of the screen.

Create responsive images by adding an .img-fluid class to the <img> tag.

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics