is now part of Shuffle™. You can use the editor on this domain, but we encourage you to try Shuffle →. Shuffle™ includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.

Bootstrap class: .img-thumbnail

<img class="img-thumbnail" src="/placeholder/pictures/image.svg" alt="Thumbnail image">


Thumbnail image

Tips 💡

Sass source

/* _images.scss:14 */
.img-thumbnail {
  padding: $thumbnail-padding;
  background-color: $thumbnail-bg;
  border: $thumbnail-border-width solid $thumbnail-border-color;
  @include border-radius($thumbnail-border-radius);
  @include box-shadow($thumbnail-box-shadow);

  // Keep them at most 100% wide
  @include img-fluid;

Uses variables

Code copied to the clipboard.

Copying failed

/* _images.scss:14 */

More in Bootstrap Images