Add style to images with Bootstrap

The following classes are provided by Bootstrap to add style to images:

  •  .img-rounded ? adds border-radius:6px to give the image rounded corners.
  •  .img-circle ? makes the entire image round by adding border-radius:500px.
  •  .img-thumbnail ? adds a bit of padding and a gray border

You can try to run the following code to add style to images

Example


   
      Bootstrap Images
      
      
      
   
   
      

Styling images with Bootstrap

                     
Updated on: 2026-03-11T22:50:42+05:30

769 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements