Bootstrap class: .img-thumbnail

Do not have time to learn all the Bootstrap classes?

Try drag & drop Bootstrap builder

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


Thumbnail image

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